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:
@@ -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>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user