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

improve output when EXTENDED_FEEDLIST is set, font size tweaks

This commit is contained in:
Andrew Dolgov
2008-05-20 07:37:33 +01:00
parent 04fedbf587
commit bdb7369bbb
3 changed files with 69 additions and 15 deletions

View File

@@ -475,7 +475,8 @@ function parse_counters(reply, scheduled_call) {
var has_img = elems[l].getAttribute("hi");
var updated = elems[l].getAttribute("updated");
var title = elems[l].getAttribute("title");
var xmsg = elems[l].getAttribute("xmsg");
if (id == "global-unread") {
global_unread = ctr;
updateTitle();
@@ -515,11 +516,21 @@ function parse_counters(reply, scheduled_call) {
}
}
if (updated && feedupd) {
if (feedupd) {
if (!updated) updated = "";
if (error) {
feedupd.innerHTML = updated + " (Error)";
if (xmsg) {
feedupd.innerHTML = updated + " " + xmsg + " (Error)";
} else {
feedupd.innerHTML = updated + " (Error)";
}
} else {
feedupd.innerHTML = updated;
if (xmsg) {
feedupd.innerHTML = updated + " " + xmsg;
} else {
feedupd.innerHTML = updated;
}
}
}