Service icons

This commit is contained in:
Gregory Eremin
2011-09-26 14:51:52 +04:00
parent 0f62fae63c
commit 6be5868588
9 changed files with 19 additions and 2 deletions
+5
View File
@@ -7,6 +7,11 @@
.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')
- @artist[:albums].each do |album|