diff options
author | Andrew Dolgov <[email protected]> | 2009-02-04 23:23:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-02-04 23:23:12 +0300 |
commit | 76d20f5fafbc793f7d29686c09c9516cd7546d6c (patch) | |
tree | cc9a3dad22a94f77ee4eef1956edb9a30f002ad3 /offline.js | |
parent | 91743a49ff54862ac5b14e6d026849705c8651df (diff) |
viewfeed_offline: show error message when no articles are found to display
Diffstat (limited to 'offline.js')
-rw-r--r-- | offline.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/offline.js b/offline.js index 0050a58be..05c190250 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 += "</table>"; + + if (line_num - offset*30 == 0) { + tmp += "<div class='whiteBox'>" + + __("No articles found to display.") + + "</div>"; + } tmp += "</div></div>"; } |