summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-08 15:23:06 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-08 15:23:06 +0200
commite6d926de620a470a487010f02b47e3932512db93 (patch)
tree36811b84a47fb74e8bda708c4bdacbc7d5e110c5 /templates/part.items.php
parente2381ea22cfd3fc1ab6b6c8e472740005ad02f87 (diff)
add link to feed which gets opened when clicked on the subheading of an item
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 8c84c5377..284a3e9a3 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -24,9 +24,9 @@
</h1>
<h2 class="item_author">
- <span ng-show="itemBl.noFeedActive()">
+ <span ng-show="itemBl.noFeedActive() && feedBl.getFeedLink(item.feedId)">
<?php p($l->t('from')) ?>
- <a href="#"
+ <a target="_blank" href="{{ feedBl.getFeedLink(item.feedId) }}"
class="from_feed">{{ itemBl.getFeedTitle(item.id) }}</a>
</span>
<span ui-if="item.author">