diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-28 10:57:35 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-28 10:57:35 -0400 |
commit | a7f7f04052ded38c94e15a4e94645f6ab2b39941 (patch) | |
tree | 0a2c06adb471d5c18535c308f7991b4c9675f876 /templates/part.feeds.php | |
parent | ff6bee25f0468d291616be9235ae556457d7fc0d (diff) |
sharing items in the News app
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r-- | templates/part.feeds.php | 7 |
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); |