diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 00:08:35 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 00:08:35 +0100 |
commit | 95384df834a47a3e40f72ddc1e585b66af170efd (patch) | |
tree | 45593e2939d34ddd6b9c0bc12f6762e29027db04 /templates/part.items.php | |
parent | 65e5cacbb42070774b8d35068f1ce9bd97dff9c7 (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.php | 6 |
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" |