mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
display images in enclosures
This commit is contained in:
@@ -36,6 +36,9 @@
|
|||||||
<audio controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('audio') == 0">
|
<audio controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('audio') == 0">
|
||||||
<source src="{{entry.enclosureUrl}}" type="{{entry.enclosureType}}" />
|
<source src="{{entry.enclosureUrl}}" type="{{entry.enclosureType}}" />
|
||||||
</audio>
|
</audio>
|
||||||
|
<div ui-if="entry.enclosureType && entry.enclosureType.indexOf('image') == 0">
|
||||||
|
<img ng-src="{{entry.enclosureUrl}}" />
|
||||||
|
</div>
|
||||||
<a href="{{entry.enclosureUrl}}" target="_blank" ui-if="entry.enclosureType" download>
|
<a href="{{entry.enclosureUrl}}" target="_blank" ui-if="entry.enclosureType" download>
|
||||||
${global.download}
|
${global.download}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user