summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 9e5c2a917..801f6e133 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -70,7 +70,8 @@
<video ui-if="item.enclosureMime.indexOf('video/') == 0" type="{{ item.enclosureMime }}" ng-src="{{ item.enclosureLink|trustUrl }}" controls><?php
p($l->t('Download'))
?></video>
- <a ui-if="item.enclosureMime.indexOf('audio/') != 0 && item.enclosureMime.indexOf('video/') != 0" type="{{ item.enclosureMime }}" ng-href="{{ item.enclosureLink|trustUrl }}"><?php
+ <img ui-if="item.enclosureMime.indexOf('image/') == 0" type="{{ item.enclosureMime }}" ng-src="{{ item.enclosureLink|trustUrl }}" alt="" />
+ <a ui-if="item.enclosureMime.indexOf('audio/') != 0 && item.enclosureMime.indexOf('video/') != 0 && item.enclosureMime.indexOf('image/') != 0" type="{{ item.enclosureMime }}" ng-href="{{ item.enclosureLink|trustUrl }}"><?php
p($l->t('Download'))
?></a>
</div>