Pony.fm/public/templates/directives/albums-list.html

22 lines
907 B
HTML
Raw Permalink Normal View History

<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.small" pfm-src-size="small" />
2015-10-25 03:35:37 +01:00
<span class="info">
<span class="title">{{::album.title}}</span>
2015-10-25 03:35:37 +01:00
<span class="published">
by <span>{{::album.user.name}}</span>
2015-10-25 03:35:37 +01:00
</span>
<span class="stats">
2016-05-20 17:46:44 +02:00
<strong>{{::album.stats.favourites}}</strong> <i class="fa fa-star"></i>
<strong>{{::album.stats.comments}}</strong> <i class="fa fa-comment"></i>
<strong>{{::album.stats.downloads}}</strong> <i class="fa fa-download"></i>
2015-10-25 03:35:37 +01:00
</span>
</span>
</a>
</li>
2016-02-14 12:36:34 +01:00
<li ng-if="!albums.length" class="empty">
2016-01-08 01:46:12 +01:00
No albums found&hellip;
2015-10-25 03:35:37 +01:00
</li>
2013-08-01 04:47:21 +02:00
</ul>