add tab_files

This commit is contained in:
Martijn Voncken 2008-02-12 21:04:12 +00:00
parent 991a413327
commit 949ee6160d
1 changed files with 9 additions and 0 deletions

View File

@ -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>