Built-in Last.fm TOP playlists
This commit is contained in:
@@ -18,11 +18,15 @@
|
||||
%a.foreign-link{ href: service.url, target: '_blank' }
|
||||
= image_tag 'services/'+service.service+(service.service == 'official_homepage' ? '.png' : '.ico')
|
||||
|
||||
- unless @artist.playlists.empty?
|
||||
.row
|
||||
.span7.offset4
|
||||
%h3= t('player.playlists')
|
||||
%table.zebra-striped
|
||||
.row
|
||||
.span7.offset4
|
||||
%h3= t('player.playlists')
|
||||
%table.zebra-striped
|
||||
%tr
|
||||
%td
|
||||
%span.label.success.dynamic-playlist{ href: "", 'data-playlist' => "lastfm-top50/#{@artist.id}" }= t('player.set_playlist')
|
||||
%a.playlist-name{ href: "", 'data-playlist' => "lastfm-top50/#{@artist.id}" }= "#{@artist.name}: Last.fm TOP"
|
||||
- @artist.playlists.each do |playlist|
|
||||
%tr
|
||||
- @artist.playlists.each do |playlist|
|
||||
%td
|
||||
|
||||
Reference in New Issue
Block a user