diff --git a/deluge/ui/webui/config_tabs_deluge.py b/deluge/ui/webui/config_tabs_deluge.py index 9c45ca012..bd409285c 100644 --- a/deluge/ui/webui/config_tabs_deluge.py +++ b/deluge/ui/webui/config_tabs_deluge.py @@ -43,7 +43,6 @@ config_page = component.get("ConfigPageManager") class NetworkPorts(config_forms.CfgForm ): title = _("Ports") - info = _("Restart daemon after changing these values.") _port_from = forms.IntegerField(label= _("From"),min_value = 0, max_value=65535) _port_to = forms.IntegerField(label = _("To"),min_value = 0, max_value=65535) random_port = forms.CheckBox(label = _("Random")) diff --git a/deluge/ui/webui/pages.py b/deluge/ui/webui/pages.py index 71a194726..488e34e0e 100644 --- a/deluge/ui/webui/pages.py +++ b/deluge/ui/webui/pages.py @@ -296,10 +296,11 @@ class connect: def POST(self): vars = web.input(uri = None, other_uri = None) uri = '' - if vars.uri == 'other_uri': - if not vars.other: + print "URI=",uri + if vars.uri == 'other': + if not vars.other_uri: return error_page(_("no uri")) - uri = vars.other + uri = vars.other_uri else: uri = vars.uri #TODO: more error-handling diff --git a/deluge/ui/webui/templates/deluge/tab_statistics.html b/deluge/ui/webui/templates/deluge/tab_statistics.html index efb3ca497..b41fed559 100644 --- a/deluge/ui/webui/templates/deluge/tab_statistics.html +++ b/deluge/ui/webui/templates/deluge/tab_statistics.html @@ -43,7 +43,7 @@ $fspeed(torrent.download_payload_rate) $ftime(torrent.eta) $_('Pieces'): -$torrent.num_pieces x $fsize(torrent.piece_length) +$torrent.num_pieces ($fsize(torrent.piece_length)) diff --git a/deluge/ui/webui/templates/white/index.html b/deluge/ui/webui/templates/white/index.html index acac8e528..3558322c4 100644 --- a/deluge/ui/webui/templates/white/index.html +++ b/deluge/ui/webui/templates/white/index.html @@ -23,7 +23,7 @@ $def with (torrent_list, organize_filters) - + $:part_stats() @@ -34,8 +34,7 @@ $if organize_filters: $:render.part_organize(organize_filters) - - +
$:render.part_toolbar() @@ -50,7 +49,7 @@ $if organize_filters:
-
+