Pony.fm/public/templates/account/playlists.html

23 lines
1 KiB
HTML
Raw Permalink Normal View History

<ul class="playlists stretch-to-bottom">
<li ng-repeat="playlist in playlists track by playlist.id">
2015-10-25 03:35:37 +01:00
<div class="btn-group">
2016-05-20 16:15:10 +02:00
<a href="#" pfm-eat-click class="btn btn-default btn-sm" ng-click="togglePlaylistPin(playlist)" ng-class="{active: playlist.is_pinned, 'btn-primary': playlist.is_pinned}">
2016-05-20 17:46:44 +02:00
<i class="fa fa-pushpin"></i>
2015-10-25 03:35:37 +01:00
</a>
2016-05-20 16:15:10 +02:00
<a href="#" pfm-eat-click class="btn btn-default btn-sm" ng-click="editPlaylist(playlist)">Edit</a>
<a href="#" pfm-eat-click class="btn btn-sm btn-danger" ng-click="deletePlaylist(playlist)">Delete</a>
2015-10-25 03:35:37 +01:00
</div>
<a href="{{playlist.url}}" class="main">
<span class="is-public">
<span ng-show="playlist.is_public">Is Public</span>
<span ng-hide="playlist.is_public">Is Private</span>
</span>
2015-10-25 03:35:37 +01:00
<img ng-src="{{playlist.covers.small}}" />
<span class="title">
{{playlist.title}}
</span>
</a>
</li>
</ul>