news/templates/part.navigation.unreadfeed.php

34 строки
1.1 KiB
PHP
Исходник Обычный вид История

<li ng-class="{
2014-05-31 03:12:20 +04:00
active: Navigation.isSubscriptionsActive(),
unread: Navigation.getUnreadCount() > 0
2014-08-31 14:08:31 +04:00
}"
2014-09-01 13:15:08 +04:00
class="has-counter has-menu">
2014-05-23 22:19:06 +04:00
2014-08-27 14:00:48 +04:00
<a class="icon-rss" ng-href="#/items/" ng-if="!Navigation.isShowAll()">
<?php p($l->t('Unread articles'))?>
</a>
2014-05-23 22:19:06 +04:00
2014-08-27 14:00:48 +04:00
<a class="icon-rss" ng-href="#/items/" ng-if="Navigation.isShowAll()">
<?php p($l->t('All articles'))?>
2013-02-11 18:33:34 +04:00
</a>
2014-05-23 22:19:06 +04:00
2014-08-27 14:00:48 +04:00
<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>
2014-08-27 20:52:13 +04:00
<div class="app-navigation-entry-menu">
2014-08-27 14:00:48 +04:00
<ul>
2014-08-29 18:55:32 +04:00
<li><button class="icon-checkmark"
title="<?php p($l->t('Read all')); ?>"
ng-click="Navigation.markRead()"></button>
</li>
2014-08-27 14:00:48 +04:00
</ul>
</div>
2014-05-23 22:19:06 +04:00
</li>