summaryrefslogtreecommitdiffstats
path: root/templates/part.feeds.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r--templates/part.feeds.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index 14a7b0dd4..5e9895870 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -40,6 +40,7 @@ $allfeeds = isset($_['allfeeds']) ? $_['allfeeds'] : '';
$lastViewedFeedId = $_['lastViewedFeedId'];
$lastViewedFeedType = $_['lastViewedFeedType'];
$starredCount = $_['starredCount'];
+$sharedCount = $_['sharedCount'];
?>
@@ -54,5 +55,11 @@ $starredCount = $_['starredCount'];
<span class="unread_items_counter"><?php echo $starredCount ?></span>
</li>
+<li class="shared <?php if($lastViewedFeedType == OCA\News\FeedType::SHARED) { echo "active"; }; ?>">
+ <a class="title" href="#" ><?php echo $l->t('Shared'); ?></a>
+ <span class="unread_items_counter"><?php echo $sharedCount ?></span>
+</li>
+
+
<?php
print_collection_list($allfeeds, $lastViewedFeedId, $lastViewedFeedType);