add special class for feeds with disabled updates

This commit is contained in:
Andrew Dolgov
2018-02-08 13:54:06 +03:00
parent cc16b7ba39
commit f6269d1bc4
3 changed files with 12 additions and 4 deletions

1
js/FeedTree.js Normal file → Executable file
View File

@@ -267,6 +267,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
"dijitTreeRow Error";
if (item.unread > 0) rc += " Unread";
if (item.updates_disabled > 0) rc += " UpdatesDisabled";
return rc;
},