summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-02-27 22:43:57 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commitce1db3f5dcb6359bf9309aaea84a405c41a0859a (patch)
tree5471b8bf6a40fd3685747c1ec0854468d17e8f46 /templates
parenta77cdad828935554712f3ff327c076f801aa7fe2 (diff)
✏️ Cleanup part.content.php + fix typo
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 01c116f7a..9d8ea455e 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -95,7 +95,7 @@
class="util"
news-stop-propagation>
<button class="share svg dropbtn"
- title="Partager">
+ title="<?php p($l->t('Share')) ?>">
</button>
</li>
<div
@@ -194,17 +194,14 @@
<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 from')) ?>
- <a ng-href="#/items/feeds/{{ item.feedId }}/">
- {{ :: item.sharedBy}}
- <img ng-if="Content.getFeed(item.feedId).faviconLink && !Content.isCompactView()" src="{{ ::Content.getFeed(item.feedId).faviconLink }}" alt="favicon">
- </a>
+ <span ng-if="item.sharedBy !== ''" class="source"><?php p($l->t('shared by')) ?>
+ <a>{{ ::item.sharedBy }}</a>
</span>
</div>