diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 16:02:47 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 16:02:47 +0200 |
commit | 97f9920488f5a1a5a92ff6130ea1249cebfcee16 (patch) | |
tree | f10a467c7896566836dccb43f5ed63f3ccb2d5ce /templates | |
parent | 608ed2deb12504596f8556be47292620f1985fc8 (diff) |
fixed a bug that would prevent the subscriptionlist to show no unread feeds in the beginning
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 9 | ||||
-rw-r--r-- | templates/part.feeds.php | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/main.php b/templates/main.php index f9c359ca4..1f84520db 100644 --- a/templates/main.php +++ b/templates/main.php @@ -10,9 +10,12 @@ echo $this->inc("part.items.header"); ?> <div id="leftcontent" class="leftcontent"> - <ul id="feeds"> - <?php echo $this->inc("part.feeds"); ?> - </ul> + <h3><?php echo $l->t('Subscriptions'); ?></h3> + <div id="feeds"> + <ul> + <?php echo $this->inc("part.feeds"); ?> + </ul> + </div> </div> <div id="feed_settings"> diff --git a/templates/part.feeds.php b/templates/part.feeds.php index 044d954ab..683d535cd 100644 --- a/templates/part.feeds.php +++ b/templates/part.feeds.php @@ -21,7 +21,7 @@ } $tmpl_feed = new OCP\Template("news", "part.listfeed"); $tmpl_feed->assign('feed', $collection); - $tmpl_feed->assign('unreadItems',$counter); + $tmpl_feed->assign('unreadItemsCount',$counter); $tmpl_feed->printpage(); } else { |