diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 15:09:34 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 15:09:34 +0200 |
commit | 03baa5ba68daa09110940c416b3cb065a9e9ca7a (patch) | |
tree | e4d76db78c422df49901733234814fcf08354234 /templates/part.items.php | |
parent | 319a6f848d6a28dfb44320e02bde0b3fab6c6bc3 (diff) |
reorganize templates
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/templates/part.items.php b/templates/part.items.php deleted file mode 100644 index dfb2a71a2..000000000 --- a/templates/part.items.php +++ /dev/null @@ -1,84 +0,0 @@ -<ul> - <li class="feed_item" - - ng-repeat="item in itemBusinessLayer.getAll() | orderBy:['-id'] " - ng-class="{ read: item.isRead(), compact: isCompactView(), open: item.active}" - data-id="{{ item.id }}" - ng-click="itemBusinessLayer.setRead(item.id)"> - - <div class="item_heading"> - <button ng-class="{ important: item.isStarred() }" - ng-click="itemBusinessLayer.toggleStarred(item.id)" - class="star" - > - </button> - <a class="external" - target="_blank" - ng-href="{{ item.url }}" - title="<?php p($l->t('read on website')) ?>"> - </a> - <span class="timeago" title="{{item.pubDate*1000|date:'dd-MM-yyyy'}}"> - {{ getRelativeDate(item.pubDate) }} - </span> - <h1> - <a ng-click="item.active = !item.active" href="#">{{ item.title }}</a> - </h1> - </div> - - <h2 class="item_date"> - <span class="timeago" title="{{item.pubDate*1000|date:'dd-MM-yyyy'}}"> - {{ getRelativeDate(item.pubDate) }} - </span> - </h2> - - <div class="item_utils"> - <ul class="primary_item_utils"> - <li> - <button - title="<?php p($l->t('star')) ?>" - ng-class="{ important: item.isStarred() }" - ng-click="itemBusinessLayer.toggleStarred(item.id)" - class="star"></button> - </li> - </ul> - </div> - - <h1 class="item_title"> - <a target="_blank" ng-href="{{ item.url }}"> - {{ item.title }} - </a> - </h1> - - <h2 class="item_author"> - <span ng-show="itemBusinessLayer.noFeedActive() && feedBusinessLayer.getFeedLink(item.feedId)"> - <?php p($l->t('from')) ?> - <a target="_blank" ng-href="{{ feedBusinessLayer.getFeedLink(item.feedId) }}" - class="from_feed">{{ itemBusinessLayer.getFeedTitle(item.id) }}</a> - </span> - <span ng-if="item.author"> - <?php p($l->t('by')) ?> - {{ item.author }} - </span> - </h2> - - <div class="enclosure" ng-if="item.enclosureLink"> - <news-audio type="{{ item.enclosureType }}" ng-src="{{ item.enclosureLink|trustUrl }}"><?php - p($l->t('Download')) - ?></news-audio> - </div> - - <div class="body" news-bind-html-unsafe="item.body"> - </div> - - <div class="bottom-utils"> - <ul ng-show="item.keepUnread"> - <li ng-click="Content.toggleKeepUnread(item.id)"> - <label for="keep-unread"> - <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> - <?php p($l->t('Keep unread')); ?> - </label> - </li> - </ul> - </div> - </li> -</ul> |