diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 21:47:59 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-09 21:47:59 +0200 |
commit | 638ca54359d002b90e12ee461444259a6e070e2a (patch) | |
tree | 36f80255f1bbdba16e8c882ab0b6ab3cb4b56175 /templates | |
parent | e9d37abf6d5b250d282f86c17a4d68939dce0e4f (diff) |
add source, fix #440
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.expand.php | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/templates/part.content.expand.php b/templates/part.content.expand.php index a995b3daa..0414ead62 100644 --- a/templates/part.content.expand.php +++ b/templates/part.content.expand.php @@ -26,6 +26,9 @@ </a> </h1> </li> + <li class="source"> + <a ng-href="#/items/feeds/{{ item.feedId }}">{{ Content.getFeed(item.feedId).title }}</a> + </li> <li class="date"> <time title="{{ item.pubDate*1000|date:'yyyy-MM-dd HH:mm:ss' }}" datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}"> @@ -36,16 +39,8 @@ </div> <div class="article" ng-hide="item.hide"> - <h2 class="author"> - <span> - <?php p($l->t('from')) ?> - <a ng-href="#/items/feeds/{{ item.feedId }}" - class="from_feed">{{ Content.getFeed(item.feedId).title }}</a> - </span> - <span ng-show="item.author"> - <?php p($l->t('by')) ?> - {{ item.author }} - </span> + <h2 class="author" ng-show="item.author"> + <?php p($l->t('by')) ?> {{ item.author }} </h2> <div class="enclosure" ng-if="item.enclosureLink"> |