mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
add tab_files
This commit is contained in:
parent
991a413327
commit
949ee6160d
1 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
$def with (torrent)
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%">
|
||||||
|
$altrow(True)
|
||||||
|
<tr class="tab_$altrow()"><th>$_("File")</th><th>$_("Size")</th></tr>
|
||||||
|
$for file in torrent.files:
|
||||||
|
<tr class="tab_$altrow()" title="$file["path"]"><td>$(crop_right(file["path"], 70))</td><td>$fsize(file["size"])</td></tr>
|
||||||
|
</table>
|
Loading…
Add table
Add a link
Reference in a new issue