summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-02 22:53:58 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commita1edb03e197c511e0f3324976a9207e92e4abe4b (patch)
tree90264a645e5fb66156245a96d19f7c95825de274 /templates
parentf708e40b753c7017d9a5b6d1b38dc0eb5cd6ddf8 (diff)
🔥 Remove changes from front-end for back-end pr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php10
-rw-r--r--templates/part.navigation.starredfeed.php2
2 files changed, 3 insertions, 9 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 8ea8b168f..9ce6ae10e 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -122,18 +122,12 @@
<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')) ?>
- <a ng-href="#/items/feeds/{{ item.feedId }}/">
+ <span 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>
</div>
<div class="enclosure" ng-if="Content.getMediaType(item.enclosureMime) == 'audio'">
diff --git a/templates/part.navigation.starredfeed.php b/templates/part.navigation.starredfeed.php
index 7846f060d..1f096d57d 100644
--- a/templates/part.navigation.starredfeed.php
+++ b/templates/part.navigation.starredfeed.php
@@ -4,7 +4,7 @@
}"
class="with-counter starred-feed">
- <a class="icon-starred" ng-href="#/items/shared/">
+ <a class="icon-starred" ng-href="#/items/starred/">
<?php p($l->t('Starred')) ?>
</a>