|
[% IF torrent.hashing %]
[% ELSIF torrent.complete %]
[% IF torrent.is_active %]
[% ELSE %]
[% END %]
[% ELSE %]
[% IF torrent.is_active %]
[% ELSE %]
[% END %]
[% END %]
|
[% torrent.name %] |
|
[% gettext(torrent.priority_str) %] |
[% torrent.size_bytes.as_human_size %]
[% torrent.size_bytes %]
|
[% torrent.percent %]
|
[%
IF torrent.hashing; gettext('Hashing');
ELSIF torrent.complete;
IF torrent.is_active; gettext('Seeding');
ELSE; gettext('Finished');
END;
ELSE;
IF torrent.is_active; gettext('Downloading');
ELSE; gettext('Paused');
END;
END;
%]
|
[% torrent.peers_connected %] |
[% torrent.down_rate.as_human_speed %]
[% torrent.down_rate %]
|
[% torrent.up_rate.as_human_speed %]
[% torrent.up_rate %]
|
[% SET class = ['rate', 'digit'] %]
[% IF torrent.ratio >= 1.0; class.push('positive');
ELSE; class.push('negative');
END %]
[% torrent.ratio %]
|
[% END %]