summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-19 17:09:23 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-19 17:09:23 +0100
commit53443fd1776658991091c9cc308fb86f7d3ac8ef (patch)
tree253e78f010af4e538c45fabf126dff9661ab75ee /templates
parent746bdb08b44f0b13a7371962dfb85d28d4704680 (diff)
show hint when no articles to read are availabe
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 97378efa5..f4a4a99b2 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -13,6 +13,10 @@
<?php p($l->t('Refresh')) ?> (r)
</button>
</div>
+ <div ng-if="Content.getItems().length == 0" class="no-feeds-available">
+ <p ng-show="Content.isShowAll()"><?php p($l->t('No articles available')) ?></p>
+ <p ng-show="!Content.isShowAll()"><?php p($l->t('No unread articles available')) ?></p>
+ </div>
<ul>
<li class="item {{ ::Content.getFeed(item.feedId).cssClass }}"
ng-repeat="item in Content.getItems() |