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

viewfeed_offline: show error message when no articles are found to display

This commit is contained in:
Andrew Dolgov
2009-02-04 23:23:12 +03:00
parent 91743a49ff
commit 76d20f5faf

View File

@@ -377,6 +377,12 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
if (offset == 0) { if (offset == 0) {
tmp += "</table>"; tmp += "</table>";
if (line_num - offset*30 == 0) {
tmp += "<div class='whiteBox'>" +
__("No articles found to display.") +
"</div>";
}
tmp += "</div></div>"; tmp += "</div></div>";
} }