1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 17:55:55 +00:00

optionally show last update time in feedlist (EXTENDED_FEEDLIST) (closes #55)

This commit is contained in:
Andrew Dolgov
2006-06-06 07:51:00 +01:00
parent cea51014f7
commit 78d5212c0a
7 changed files with 33 additions and 1 deletions

View File

@@ -510,6 +510,7 @@ function parse_counters(reply, scheduled_call) {
var feedr = f_document.getElementById("FEEDR-" + id);
var feed_img = f_document.getElementById("FIMG-" + id);
var feedlink = f_document.getElementById("FEEDL-" + id);
var feedupd = f_document.getElementById("FLUPD-" + id);
if (updated && feedlink) {
if (error) {
@@ -519,6 +520,14 @@ function parse_counters(reply, scheduled_call) {
}
}
if (updated && feedupd) {
if (error) {
feedupd.innerHTML = updated + " (Error)";
} else {
feedupd.innerHTML = updated;
}
}
if (feedctr && feedu && feedr) {
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {