2013-08-27 08:53:37 +02:00
< div class = "resource-details album-details" bindonce = "album" >
2015-10-25 03:35:37 +01:00
< ul class = "dropdowns" >
< li class = "dropdown" >
2015-11-03 05:15:26 +01:00
< a href = "#" class = "btn btn-small btn-info dropdown-toggle" ng-disabled = "album.is_downloadable == 0" auto-close = "outsideClick" >
2015-10-25 03:35:37 +01:00
Downloads
< / a >
< ul class = "dropdown-menu" ng-show = "album.is_downloadable == 1" >
2015-11-01 17:49:28 +01:00
< li bindonce ng-repeat = "format in album.formats" ng-hide = "isInProgress" >
< a target = "_blank" ng-if = "!format.isCacheable" bo-href = "format.url" >
< span bo-text = "format.name" > < / span >
< small bo-text = "'(' + format.size + ')'" > < / small >
< / a >
< a ng-if = "format.isCacheable" ng-click = "getCachedAlbum(album.id, format.name);" href = "" >
< span bo-text = "format.name" > < / span >
< small bo-text = "'(' + format.size + ')'" > < / small >
< / 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 >
< li ng-show = "isInProgress" class = "cache-loading" > < small > We' re getting your download ready! This may take up to a few minutes .< / small > < / li >
2015-10-25 03:35:37 +01:00
< / ul >
< / li >
< li > < a href = "#" class = "btn" pfm-eat-click ng-click = "share()" > Share< / a > < / li >
< li > < pfm-favourite-button resource = "album" type = "album" > < / pfm-favourite-button > < / li >
< li bo-show = "album.permissions.edit" > < a class = "btn btn-small" bo-href = "'/account/albums/edit/' + album.id" > Edit< / a > < / li >
< / ul >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< header >
< h1 bo-text = "album.title" > < / h1 >
< h2 >
by: < a bo-href = "album.user.url" bo-text = "album.user.name" > < / a >
< / 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" >
< img class = "cover" pfm-src-loader = "album.covers.normal" pfm-src-size = "normal" / >
2013-08-27 08:53:37 +02:00
2015-10-25 03:35:37 +01:00
< div class = "share-buttons" pfm-share-buttons >
< a class = "tumblr" bo-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" bo-src = "album.share.twitterUrl" style = "width:130px; height:20px;" > < / iframe >
< / div >
2013-08-29 05:19:24 +02:00
2015-10-25 03:35:37 +01:00
< ul class = "stats" >
< li > Published: < strong bo-text = "album.created_at | pfmdate:'medium'" > < / strong > < / li >
< li > Views: < strong bo-text = "album.stats.views" > < / strong > < / li >
< li > Downloads: < strong bo-text = "album.stats.downloads" > < / strong > < / li >
< li > Favourites: < strong bo-text = "album.stats.favourites" > < / strong > < / li >
< / ul >
< / div >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< div class = "left" >
< div class = "description" bo-show = "album.description.length" >
< h2 > Description< / h2 >
< p bo-html = "album.description | noHTML | newlines" > < / p >
< / div >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< h2 > Tracks< / h2 >
< pfm-tracks-list tracks = "album.tracks" class = "condensed no-artist" > < / pfm-tracks-list >
2013-08-01 04:01:41 +02:00
2015-10-25 03:35:37 +01:00
< pfm-comments type = "album" resource = "album" > < / pfm-comments >
< / div >
< / div >
< / div >