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

18 lines
853 B
HTML
Raw Normal View History

2016-08-04 04:42:46 +02:00
<div layout="row" layout-xs="column" layout-wrap>
<a ng-repeat="album in albums track by album.id" ng-href="{{::album.url}}" class="clickable" flex-gt-xs="50" flex-gt-sm="25" flex-gt-md="20">
<md-card class="album">
<img class="md-card-image" pfm-src-loader="::album.covers.normal" pfm-src-size="normal">
2016-08-04 04:42:46 +02:00
<md-card-content>
<span>{{::album.title}}</span>
</md-card-content>
2016-08-04 04:42:46 +02:00
<md-card-actions layout="row" layout-align="end center" class="album-stats">
<span><md-icon>favorite</md-icon> {{::album.stats.favourites}}</span>
<span><md-icon>comment</md-icon> {{::album.stats.comments}}</span>
<span><md-icon>file_download</md-icon> {{::album.stats.downloads}}</span>
</md-card-actions>
</md-card>
</a>
</div>