1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 04:11:29 +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

@@ -737,8 +737,11 @@
$rtl_tag = "dir=\"ltr\"";
}
$error_notify_msg = "";
if ($last_error) {
$link_title = "Error: $last_error ($last_updated)";
$error_notify_msg = "(Error)";
} else if ($last_updated) {
$link_title = "Updated: $last_updated";
}
@@ -760,7 +763,12 @@
print " <span $rtl_tag $fctr_class id=\"FEEDCTR-$feed_id\">
(<span id=\"FEEDU-$feed_id\">$unread</span>)</span>";
if (get_pref($link, "EXTENDED_FEEDLIST")) {
print "<div class=\"feedExtInfo\">
<span id=\"FLUPD-$feed_id\">$last_updated $error_notify_msg</span></div>";
}
print "</li>";
}