mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 13:37:59 +01:00
d8933374ab
The "Favourites" area within account management was removed as it duplicates the functionality of the favourites area on public profiles.
28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
<div>
|
|
<ul class="dropdowns">
|
|
<li class="dropdown">
|
|
<a class="btn" ui-sref=".create" ng-class="{'btn-primary': data.isEditorOpen && data.selectedAlbum == null}">
|
|
<i class="icon-plus"></i> Create Album
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="two-pane-view" ng-class="{open: data.isEditorOpen, closed: !data.isEditorOpen}">
|
|
<div class="list">
|
|
<ul class="account-albums-listing stretch-to-bottom">
|
|
<li ng-repeat="album in albums track by album.id" ng-class="{selected: album.id == data.selectedAlbum.id}">
|
|
<a ui-sref=".edit({album_id: {{::album.id}}})">
|
|
<img pfm-src-loader="album.covers.normal" pfm-src-size="normal" class="image" />
|
|
<span class="title">{{album.title}}</span>
|
|
<span class="published">{{album.created_at | date:'MM/dd/yyyy'}}</span>
|
|
</a>
|
|
</li>
|
|
<li ng-show="!albums.length" class="empty">
|
|
No albums found…
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<ui-view class="editor"></ui-view>
|
|
</div>
|
|
</div>
|