1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 01:25:56 +00:00

display last update times in PrefFeedTree (closes #284)

This commit is contained in:
Andrew Dolgov
2010-12-28 11:39:12 +03:00
parent 5823f9fbab
commit 1644304f11
3 changed files with 27 additions and 3 deletions

View File

@@ -26,6 +26,15 @@ dojo.declare("fox.PrefFeedTree", lib.CheckBoxTree, {
if (args.item.icon)
tnode.iconNode.src = args.item.icon[0];
var param = this.model.store.getValue(args.item, 'param');
if (param) {
param = dojo.doc.createElement('span');
param.className = 'feedParam';
param.innerHTML = args.item.param[0];
dojo.place(param, tnode.labelNode, 'after');
}
return tnode;
},
onDndDrop: function() {