23 lines
646 B
Plaintext
23 lines
646 B
Plaintext
#user_left
|
|
=image_tag validate_avatar(user), :class => "picture"
|
|
.information
|
|
%h1= user.username || current_user.email
|
|
%ul.nav
|
|
%li=image_tag "icons/artist-info.png"
|
|
%li=image_tag "icons/artist-links.png"
|
|
%ul.con
|
|
%li="#{user.playcount} Plays"
|
|
%li="#{user.playlist.count} Playlists"
|
|
.tabs.tabs_js.w02
|
|
%ul.nav
|
|
%li profile
|
|
- if user == current_user
|
|
%li settings
|
|
.content
|
|
%div
|
|
- user.artists.each do |artist|
|
|
%p
|
|
=artist.name
|
|
=image_tag artist.img_url
|
|
- if user == current_user
|
|
%div=render :partial => "edit", :locals => { :user => current_user } |