update details+stats tab
This commit is contained in:
parent
ceaa06d1ad
commit
8668e2eb8e
|
@ -12,7 +12,7 @@ $def with (torrent)
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="info_label"><a href="/torrent/move/$torrent.id" target="_top">$('Save Path'):</td>
|
||||
<td class="info_label"><a href="/torrent/move/$torrent.id" target="_top">$('Path'):</td>
|
||||
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 200)</td>
|
||||
</tr>
|
||||
|
||||
|
@ -33,15 +33,12 @@ $def with (torrent)
|
|||
<tr><td class="info_label">$_('Tracker'):</td>
|
||||
<td class="info_value" title="$torrent.tracker">$(crop(torrent.tracker, 200))</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="info_label">$_('Private'):</td>
|
||||
<td class="info_value">$torrent.private</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -63,13 +63,12 @@ $fspeed(torrent.download_payload_rate)</td></td></tr>
|
|||
|
||||
|
||||
|
||||
|
||||
<tr><td class="info_label">$_('Queue Position'):</td>
|
||||
<tr><td class="info_label">$_('Auto Managed'):</td>
|
||||
<td class="info_value">
|
||||
$if (torrent.queue == -1):
|
||||
∞ <!--infinite symbol-->
|
||||
$if torrent.is_auto_managed:
|
||||
$_('True')
|
||||
$else:
|
||||
$(torrent.queue + 1)
|
||||
$_('False')
|
||||
</td></tr>
|
||||
|
||||
|
||||
|
@ -79,20 +78,21 @@ $else:
|
|||
<table>
|
||||
|
||||
<tr><td class="info_label">$_('Active time'):</td>
|
||||
<td class="info_value">TODO</td>
|
||||
<td class="info_value">$ftime(torrent.active_time)</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Seeding time'):</td>
|
||||
<td class="info_value">TODO</td>
|
||||
<td class="info_value">$ftime(torrent.seeding_time)</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Seed rank'):</td>
|
||||
<td class="info_value">TODO</td>
|
||||
<td class="info_value">$(torrent.seed_rank)</td>
|
||||
</tr>
|
||||
<tr><td class="info_label">$_('Allocation'):</td>
|
||||
|
||||
<tr><td class="info_label">$_('Queue Position'):</td>
|
||||
<td class="info_value">
|
||||
$if torrent.compact:
|
||||
$_('Compact')
|
||||
$if (torrent.queue == -1):
|
||||
∞ <!--infinite symbol-->
|
||||
$else:
|
||||
$_('Full')
|
||||
$(torrent.queue + 1)
|
||||
</td></tr>
|
||||
|
||||
</table></td>
|
||||
|
|
|
@ -44,8 +44,7 @@ TORRENT_KEYS = ['name', 'total_size', 'num_files', 'num_pieces', 'piece_length',
|
|||
'files', 'file_priorities', 'compact', 'max_connections',
|
||||
'max_upload_slots', 'max_download_speed', 'prioritize_first_last',
|
||||
'private','max_upload_speed','queue','peers',
|
||||
#builtin plugins:
|
||||
'tracker_name', #organize-plugin
|
||||
"active_time", "seeding_time", "seed_rank", "is_auto_managed", #stats
|
||||
'tracker_host', 'label' #label-plugin
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue