Add single track button
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
.span7.columns.desc
|
||||
%h2= @artist[:artist][:name]
|
||||
= @artist[:artist][:desc] unless @artist[:artist][:desc].nil?
|
||||
.service-icons
|
||||
- @artist[:artist][:urls].each do |service|
|
||||
- if ['wikipedia', 'microblog', 'official_homepage', 'social_network'].include?service.service
|
||||
%a.foreign-link{ :href => service.url, :target => '_blank' }
|
||||
= image_tag 'services/'+service.service+(service.service == 'official_homepage' ? '.png' : '.ico')
|
||||
- unless @artist[:artist][:urls].nil?
|
||||
.service-icons
|
||||
- @artist[:artist][:urls].each do |service|
|
||||
- if ['wikipedia', 'microblog', 'official_homepage', 'social_network'].include?service.service
|
||||
%a.foreign-link{ :href => service.url, :target => '_blank' }
|
||||
= image_tag 'services/'+service.service+(service.service == 'official_homepage' ? '.png' : '.ico')
|
||||
|
||||
|
||||
- @artist[:albums].each do |album|
|
||||
@@ -26,4 +27,6 @@
|
||||
- album[:tracks].each do |track|
|
||||
%tr
|
||||
%td.song-title= track[:name]
|
||||
%td.song-duration= track[:duration]
|
||||
%td.song-duration
|
||||
.s-duration= track[:duration]
|
||||
.s-add{ :data_id => track[:id] }= I18n.t 'player.add_one'
|
||||
Reference in New Issue
Block a user