mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-24 16:01:00 +02:00
extend no articles error messages
This commit is contained in:
parent
c67d2990c7
commit
93c841c4e5
@ -5099,7 +5099,20 @@
|
|||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (!$offset) print "<div class='whiteBox'>".__('No articles found.')."</div>";
|
$message = "";
|
||||||
|
|
||||||
|
switch ($view_mode) {
|
||||||
|
case "unread":
|
||||||
|
$message = __("No unread articles found to display.");
|
||||||
|
break;
|
||||||
|
case "marked":
|
||||||
|
$message = __("No starred articles found to display.");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$message = __("No articles found to display.");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$offset) print "<div class='whiteBox'>$message</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$offset) {
|
if (!$offset) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user