summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-15 16:02:47 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-15 16:02:47 +0200
commit97f9920488f5a1a5a92ff6130ea1249cebfcee16 (patch)
treef10a467c7896566836dccb43f5ed63f3ccb2d5ce /templates
parent608ed2deb12504596f8556be47292620f1985fc8 (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.php9
-rw-r--r--templates/part.feeds.php2
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 {