summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 00:08:35 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 00:08:35 +0100
commit95384df834a47a3e40f72ddc1e585b66af170efd (patch)
tree45593e2939d34ddd6b9c0bc12f6762e29027db04 /templates/part.items.php
parent65e5cacbb42070774b8d35068f1ce9bd97dff9c7 (diff)
added angular ui for ui-if to not include audio elements everywhere and throw lots of warnings
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index e87c8ad5c..fe2265afa 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -29,8 +29,10 @@
class="from_feed">{{item.feedTitle}}</a> {{item.getAuthorLine()}}
</h2>
- <div class="enclosure" ng-show="item.enclosure">
- <audio controls="controls"><source ng-src="{{item.enclosure.link}}" type="{{item.enclosure.type}}"></source></audio>
+ <div class="enclosure" ui-if="item.enclosure">
+ <audio controls="controls" ng-src="{{item.enclosure.link}}" type="{{item.enclosure.type}}">
+ <?php p($l->t('Cant play audio format')) ?> {{item.enclosure.type}}
+ </audio>
</div>
<div class="body"