]> git.wh0rd.org - tt-rss.git/commitdiff
add help tip for empty labels
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 04:09:51 +0000 (05:09 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 04:09:51 +0000 (05:09 +0100)
functions.php

index d80bbf4e93a950d89673ade5e016b7df6bd8e1ae..3de256c7d992d283382081adf39ec23a4c768a9a 100644 (file)
                                        $message = __("No starred articles found to display.");
                                        break;
                                default:
-                                       $message = __("No articles found to display.");
+                                       if ($feed < -10) {
+                                               $message = __("No articles found to display. You can assign articles to labels manually (see the Actions menu above) or use a filter.");
+                                       } else {
+                                               $message = __("No articles found to display.");
+                                       }
                        }
 
                        if (!$offset) print "<div class='whiteBox'>$message</div>";