From 76d20f5fafbc793f7d29686c09c9516cd7546d6c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 4 Feb 2009 23:23:12 +0300 Subject: [PATCH] viewfeed_offline: show error message when no articles are found to display --- offline.js | 6 ++++++ 1 file changed, 6 insertions(+) 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 += ""; } -- 2.39.5