mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
make the tracker host error filter have an icon
This commit is contained in:
parent
c46c56e784
commit
575efe1495
1 changed files with 3 additions and 1 deletions
|
@ -347,7 +347,9 @@ Deluge.SideBar = {
|
|||
|
||||
var image = '';
|
||||
if (r.store.id == 'tracker_host') {
|
||||
image = String.format('url(/tracker/{0})', value);
|
||||
if (value != 'Error') {
|
||||
image = String.format('url(/tracker/{0})', value);
|
||||
}
|
||||
}
|
||||
return String.format('<div class="x-deluge-filter x-deluge-{2}" style="background-image: {3};">{0} ({1})</div>', value, r.data['count'], lname, image);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue