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

21 lines
942 B
HTML

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