diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 15:14:07 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 15:14:07 +0200 |
commit | 88279961c5e2f2bd0711fc4200d58b93b425199e (patch) | |
tree | 1e07557fdbd6f037b143fd49f454199737d12f45 /templates/part.items.php | |
parent | abd5ef4c4c6ad3cf8e879f6c4b9181b077165952 (diff) |
fix autopaging and marking read, render items
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index 200d5fffd..e1f761900 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -59,23 +59,22 @@ <?php p($l->t('by')) ?> {{ item.author }} </span> - </h2> + </h2> - <div class="enclosure" ui-if="item.enclosureLink"> + <div class="enclosure" ng-if="item.enclosureLink"> <news-audio type="{{ item.enclosureType }}" ng-src="{{ item.enclosureLink|trustUrl }}"/><?php p($l->t('Download')) ?></audio> </div> - <div class="item_body" news-bind-html-unsafe="item.body"> + <div class="body" news-bind-html-unsafe="item.body"> </div> - <div class="item_bottom_utils"> - <ul class="secondary_item_utils" - ng-class="{ show_keep_unread: itemBusinessLayer.isKeptUnread(item.id) }"> - <li ng-click="itemBusinessLayer.toggleKeepUnread(item.id)" - class="keep_unread"><?php p($l->t('Keep unread')); ?> - <input type="checkbox" ng-checked="itemBusinessLayer.isKeptUnread(item.id)"/> + <div class="bottom-utils"> + <ul ng-show="item.keepUnread"> + <li ng-click="Content.toggleKeepUnread(item.id)"> + <label for="keep-unread"><?php p($l->t('Keep unread')); ?></label> + <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> </li> </ul> </div> |