Pony.fm/public/templates/directives/albums-list.html
2013-09-01 17:51:51 -05:00

21 lines
742 B
HTML

<ul class="albums-listing {{class}}">
<li ng-repeat="album in albums" bindonce>
<a bo-href="album.url">
<img class="image" pfm-src-loader="album.covers.small" pfm-src-size="small" />
<span class="info">
<span class="title" bo-text="album.title"></span>
<span class="published">
by <span bo-text="album.user.name"></span>
</span>
<span class="stats">
<strong bo-text="album.stats.favourites"></strong> <i class="icon-star"></i>
<strong bo-text="album.stats.comments"></strong> <i class="icon-comment"></i>
<strong bo-text="album.stats.downloads"></strong> <i class="icon-download"></i>
</span>
</span>
</a>
</li>
<li ng-show="!albums.length" class="empty">
No albums found...
</li>
</ul>