From: Andrew Dolgov Date: Wed, 4 Feb 2009 20:23:12 +0000 (+0300) Subject: viewfeed_offline: show error message when no articles are found to display X-Git-Tag: 1.3.1~83 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=76d20f5fafbc793f7d29686c09c9516cd7546d6c;p=tt-rss.git viewfeed_offline: show error message when no articles are found to display --- diff --git a/offline.js b/offline.js index 0050a58b..05c19025 100644 --- a/offline.js +++ b/offline.js @@ -377,6 +377,12 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off if (offset == 0) { tmp += ""; + + if (line_num - offset*30 == 0) { + tmp += "
" + + __("No articles found to display.") + + "
"; + } tmp += ""; }