mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2024-11-21 22:42:48 +01:00
c7a265fedf
Give both add folder and unread feed icons their own unique icons instead of sharing them with subscribe and all articles. Signed-off-by: Greg Ross <greg@toolstack.com>
72 lines
2.1 KiB
PHP
72 lines
2.1 KiB
PHP
<li ng-class="{
|
|
active: Navigation.isUnreadActive(),
|
|
unread: Navigation.isUnread()
|
|
}"
|
|
class="subscriptions-feed with-counter with-menu">
|
|
|
|
<a class="icon-rss-unread" ng-href="#/items/unread/" >
|
|
<?php p($l->t('Unread articles'))?>
|
|
</a>
|
|
|
|
<div class="app-navigation-entry-utils" ng-show="Navigation.isUnread()">
|
|
<ul>
|
|
<li class="app-navigation-entry-utils-counter"
|
|
ng-show="Navigation.isUnread()"
|
|
title="{{ Navigation.getUnreadCount() }}">
|
|
{{ Navigation.getUnreadCount() | unreadCountFormatter }}
|
|
</li>
|
|
<li class="app-navigation-entry-utils-menu-button">
|
|
<button
|
|
ng-click="optionsId = (optionsId == 'all' ? -1 : 'all')">
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="app-navigation-entry-menu">
|
|
<ul>
|
|
<li class="mark-read">
|
|
<button ng-click="Navigation.markRead()">
|
|
<span class="icon-checkmark"></span>
|
|
<span><?php p($l->t('Mark read')); ?></span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li ng-class="{
|
|
active: Navigation.isSubscriptionsActive(),
|
|
unread: Navigation.isUnread()
|
|
}"
|
|
ng-if="Navigation.isShowAll()"
|
|
class="all-subscriptions-feed with-menu">
|
|
|
|
<a class="icon-rss" ng-href="#/items/">
|
|
<?php p($l->t('All articles'))?>
|
|
</a>
|
|
|
|
<div class="app-navigation-entry-utils">
|
|
<ul>
|
|
<li class="app-navigation-entry-utils-menu-button">
|
|
<button
|
|
ng-click="optionsId = (optionsId == 'all' ? -1 : 'all')">
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="app-navigation-entry-menu">
|
|
<ul>
|
|
<li class="mark-read">
|
|
<button ng-click="Navigation.markRead()">
|
|
<span class="icon-checkmark"></span>
|
|
<span><?php p($l->t('Mark read')); ?></span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</li>
|