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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user