summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-12-09 15:06:31 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-12-09 15:06:31 +0100
commit3134670d3bd2d61cf7733f7d95c00892e15deb68 (patch)
tree49d66a6d0f880de6aeee44723ddfc1d168ae3e96
parent9ff893cf56cd49c07d4246a98307281fad860325 (diff)
Show favicons in expanded mode's subtitle section if a folder is viewed
-rw-r--r--CHANGELOG.md5
-rw-r--r--css/content.css6
-rw-r--r--templates/part.content.php1
3 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84dfe137b..1c5ec8502 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.
+## Unreleased
+
+### Added
+- Show favicons in expanded mode's subtitle section if a folder is viewed
+
## 10.0.0
### Removed
diff --git a/css/content.css b/css/content.css
index 76c468718..efe322982 100644
--- a/css/content.css
+++ b/css/content.css
@@ -478,6 +478,12 @@
display: none;
}
+#app-content .source img {
+ height: 20px;
+ display: inline-block;
+ margin: 0 0 -5px 5px;
+}
+
/**
* Actual content
*/
diff --git a/templates/part.content.php b/templates/part.content.php
index 0c0222190..2797ee58e 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -121,6 +121,7 @@
<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>
</div>