From 65c8b047232d3644e3fa59900ac750405a471fec Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Wed, 5 Nov 2008 22:10:33 +0000 Subject: [PATCH] auto refresh details2 --- deluge/ui/webui/templates/white/torrent_info.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deluge/ui/webui/templates/white/torrent_info.html b/deluge/ui/webui/templates/white/torrent_info.html index bf01db826..f996d2140 100644 --- a/deluge/ui/webui/templates/white/torrent_info.html +++ b/deluge/ui/webui/templates/white/torrent_info.html @@ -2,8 +2,10 @@ $def with (torrent) $:(render.header(_(torrent.state) + '/' + torrent.name))
-
-$:render.part_auto_refresh() +
+$for id, title, image, flag, method, url, important in toolbar_items: + $if (flag > 0) and (id != 'details'): + $:render.part_button(method, (url + str(torrent.id)), title, 'tango/' + image)
$for id, title, tab in detail_tabs:

$title