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

22 lines
904 B
HTML
Raw 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">
<strong>{{::album.stats.favourites}}</strong> <i class="icon-star"></i>
<strong>{{::album.stats.comments}}</strong> <i class="icon-comment"></i>
<strong>{{::album.stats.downloads}}</strong> <i class="icon-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>