2016-02-14 11:53:27 +01:00
< div class = "resource-details album-details" >
2015-10-25 03:35:37 +01:00
< ul class = "dropdowns" >
< li class = "dropdown" >
2016-05-21 20:29:07 +02:00
< a href = "#" class = "btn btn-sm btn-primary dropdown-toggle" bs-dropdown ng-disabled = "album.is_downloadable == 0" auto-close = "outsideClick" >
2015-10-25 03:35:37 +01:00
Downloads
< / a >
2016-02-14 11:53:27 +01:00
< ul class = "dropdown-menu" ng-show = "::album.is_downloadable == 1" >
< li ng-repeat = "format in ::album.formats" ng-hide = "isInProgress" >
2016-07-11 14:40:31 +02:00
< a target = "_blank" ng-if = "::!format.isCacheable" ng-click = "checkMixedLosslessness(format);" ng-href = "{{::format.url}}" >
2016-02-14 11:53:27 +01:00
< span > {{::format.name}}< / span >
< small > ({{::format.size}})< / small >
2015-11-01 17:49:28 +01:00
< / a >
2016-07-11 14:40:31 +02:00
< a ng-if = "::format.isCacheable" ng-click = "getCachedAlbum(album.id, format);" href = "" >
2016-02-14 11:53:27 +01:00
< span > {{::format.name}}< / span >
< small > ({{::format.size}})< / small >
2015-11-01 17:49:28 +01:00
< / a >
2015-10-29 15:37:25 +01:00
< / li >
2015-11-01 17:49:28 +01:00
< li ng-show = "isInProgress" class = "cache-loading" > < img src = "/images/loading.gif" / > < / li >
2016-02-14 11:53:27 +01:00
< li ng-show = "isInProgress" class = "cache-loading" > < small > We' re getting your download ready! This may take a few minutes.< / small > < / li >
2015-10-25 03:35:37 +01:00
< / ul >
< / li >
2016-05-20 01:08:57 +02:00
< li > < a href = "#" class = "btn btn-default" pfm-eat-click ng-click = "share()" > Share< / a > < / li >
2016-02-14 11:53:27 +01:00
< li > < pfm-favourite-button resource = "::album" type = "album" > < / pfm-favourite-button > < / li >
2016-05-20 16:15:10 +02:00
< li ng-if = "::album.permissions.edit" > < a class = "btn btn-default btn-sm" ui-sref = "content.artist.account.albums.edit(::{slug: album.user.slug, album_id: album.id})" > Edit< / a > < / li >
2015-10-25 03:35:37 +01:00
< / ul >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< header >
2016-02-14 11:53:27 +01:00
< h1 > {{::album.title}}< / h1 >
2015-10-25 03:35:37 +01:00
< h2 >
2016-02-14 11:53:27 +01:00
by: < a ng-href = "{{::album.user.url}}" > {{::album.user.name}}< / a >
2015-10-25 03:35:37 +01:00
< / h2 >
< / header >
2013-08-27 08:53:37 +02:00
2015-10-25 03:35:37 +01:00
< div class = "stretch-to-bottom details-columns" >
< div class = "right" >
2016-02-14 11:53:27 +01:00
< a colorbox ng-href = "{{::album.covers.original}}" pfm-eat-click >
< img class = "cover" pfm-src-loader = "::album.covers.normal" pfm-src-size = "normal" / >
< / a >
2013-08-27 08:53:37 +02:00
2015-10-25 03:35:37 +01:00
< div class = "share-buttons" pfm-share-buttons >
2016-02-14 11:53:27 +01:00
< a class = "tumblr" ng-href = "{{::album.share.tumblrUrl}}" title = "Share on Tumblr" style = "display:inline-block; overflow:hidden; width:20px; height:20px; background:url('/images/tumblr-share.png') top left no-repeat transparent;" > < / a >
< div class = "facebook fb-like" data-href = "{{::album.url}}" data-width = "450" data-layout = "button_count" data-show-faces = "true" data-send = "false" > < / div >
< iframe class = "twitter" allowtransparency = "true" frameborder = "0" scrolling = "no" ng-src = "{{::album.share.twitterUrl}}" style = "width:130px; height:20px;" > < / iframe >
2015-10-25 03:35:37 +01:00
< / div >
2013-08-29 05:19:24 +02:00
2015-10-25 03:35:37 +01:00
< ul class = "stats" >
2016-02-14 11:53:27 +01:00
< li > Published: < strong > {{::album.created_at | date:'medium'}}< / strong > < / li >
< li > Views: < strong > {{::album.stats.views}}< / strong > < / li >
< li > Downloads: < strong > {{::album.stats.downloads}}< / strong > < / li >
< li > Favourites: < strong > {{::album.stats.favourites}}< / strong > < / li >
2015-10-25 03:35:37 +01:00
< / ul >
< / div >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< div class = "left" >
2016-02-14 11:53:27 +01:00
< div class = "description" ng-show = "::album.description.length" >
2015-10-25 03:35:37 +01:00
< h2 > Description< / h2 >
2016-02-14 11:53:27 +01:00
< p marked = "::album.description" > < / p >
2015-10-25 03:35:37 +01:00
< / div >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< h2 > Tracks< / h2 >
2016-02-14 11:53:27 +01:00
< pfm-tracks-list tracks = "::album.tracks" class = "condensed no-artist" > < / pfm-tracks-list >
2013-08-01 04:01:41 +02:00
2016-02-14 11:53:27 +01:00
< pfm-comments type = "album" resource = "::album" > < / pfm-comments >
2015-10-25 03:35:37 +01:00
< / div >
< / div >
< / div >