diff options
Diffstat (limited to 'templates/part.content.php')
-rw-r--r-- | templates/part.content.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 3dcc5254e..26fbf2d8d 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -194,13 +194,13 @@ <span class="author" ng-show="item.author"> <?php p($l->t('by')) ?> {{ ::item.author }} </span> - <span ng-if="item.sharedBy === ''" class="source"><?php p($l->t('from')) ?> + <span ng-if="!item.sharedBy" class="source"><?php p($l->t('from')) ?> <a ng-href="#/items/feeds/{{ item.feedId }}/"> {{ ::Content.getFeed(item.feedId).title }} <img ng-if="Content.getFeed(item.feedId).faviconLink && !Content.isCompactView()" src="{{ ::Content.getFeed(item.feedId).faviconLink }}" alt="favicon"> </a> </span> - <span ng-if="item.sharedBy !== ''" class="source"><?php p($l->t('shared by')) ?> + <span ng-if="item.sharedBy" class="source"><?php p($l->t('shared by')) ?> <a>{{ ::item.sharedBy }}</a> </span> </div> |