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
1 changed files with 6 additions and 0 deletions

View File

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