diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-11 14:32:59 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-11 14:32:59 +0200 |
commit | 793bd2177367c32d205c19950be33a8afc3c76e1 (patch) | |
tree | 7a36495ecb43e998e95dd21ec60ce943338ad80c /templates/part.content.php | |
parent | ea9ebd4826fe9807af5bc17e786b3dc58f163970 (diff) |
port to ES5, fix unread count going into minus
Diffstat (limited to 'templates/part.content.php')
-rw-r--r-- | templates/part.content.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index b28d0deb2..c0e54def1 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -15,11 +15,7 @@ <li class="title" title="{{ item.title }}" ng-style="{ backgroundImage: 'url(' + Content.getFeed(item.feedId).faviconLink + ')'}"> - <h1> - <a target="_blank" > - {{ item.title }} - </a> - </h1> + <h1>{{ item.title }}</h1> </li> <li ng-click="Content.toggleStar(item.id)" class="util" news-stop-propagation> <button class="star svg" ng-class="{'starred': item.starred}" title="<?php p($l->t('Star')); ?>"></button> @@ -41,12 +37,10 @@ <div class="article"> <div class="subtitle"> - <span class="author" ng-show="item.author"><?php p($l->t('by')) ?> {{ item.author }}</span> - <?php p($l->t('from')) ?> <a ng-href="#/items/feeds/{{ item.feedId }}">{{ Content.getFeed(item.feedId).title }}</a> <time class="date" class="date" title="{{ item.pubDate*1000|date:'yyyy-MM-dd HH:mm:ss' }}" - datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}"> - {{ Content.getRelativeDate(item.pubDate) }} - </time> + datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}">{{ Content.getRelativeDate(item.pubDate) }}</time>, + <span class="author" ng-show="item.author"><?php p($l->t('by')) ?> {{ item.author }}</span> + <!--<?php p($l->t('from')) ?> <a ng-href="#/items/feeds/{{ item.feedId }}">{{ Content.getFeed(item.feedId).title }}</a>--> </div> <div class="enclosure" ng-if="item.enclosureLink"> |