Pony.fm/public/templates/directives/playlists-list.html
2016-07-18 12:20:10 +01:00

21 lines
984 B
HTML

<ul class="playlists-listing {{::class}}">
<li ng-repeat="playlist in playlists track by playlist.id">
<a ng-href="{{::playlist.url}}">
<img class="image" pfm-src-loader="::playlist.covers.normal" pfm-src-size="normal" />
<span class="info">
<span class="title">{{::playlist.title}}</span>
<span class="published">
by {{::playlist.user.name}}
</span>
<span class="stats">
<strong>{{::playlist.stats.favourites}}</strong> <i class="material-icons">favorite</i>
<strong>{{::playlist.stats.comments}}</strong> <i class="material-icons">comment</i>
<strong>{{::playlist.stats.downloads}}</strong> <i class="material-icons">file_download</i>
</span>
</span>
</a>
</li>
<li ng-if="!playlists.length" class="empty">
No playlists found&hellip;
</li>
</ul>