зеркало из https://github.com/nextcloud/news.git
34 строки
1.1 KiB
PHP
34 строки
1.1 KiB
PHP
<li ng-class="{
|
|
active: Navigation.isSubscriptionsActive(),
|
|
unread: Navigation.getUnreadCount() > 0
|
|
}"
|
|
class="has-counter has-menu">
|
|
|
|
<a class="icon-rss" ng-href="#/items/" ng-if="!Navigation.isShowAll()">
|
|
<?php p($l->t('Unread articles'))?>
|
|
</a>
|
|
|
|
<a class="icon-rss" ng-href="#/items/" ng-if="Navigation.isShowAll()">
|
|
<?php p($l->t('All articles'))?>
|
|
</a>
|
|
|
|
<div class="app-navigation-entry-utils">
|
|
<ul>
|
|
<li class="app-navigation-entry-utils-counter"
|
|
ng-show="Navigation.getUnreadCount() > 0">
|
|
{{ 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><button class="icon-checkmark"
|
|
title="<?php p($l->t('Read all')); ?>"
|
|
ng-click="Navigation.markRead()"></button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</li>
|