0
+ = image_tag 'icons/accept.png', :plugin => 'community_engine'
0
+ %li=link_to 'Profile'.l, user_path(@user)
0
+ %li=link_to 'Blog'.l, user_posts_path(@user)
0
+ %li=link_to 'Photos'.l, user_photos_path(@user)
0
+ %li=link_to 'Clippings'.l, user_clippings_path(@user)
0
+ %li=link_to 'Friends'.l, accepted_user_friendships_path(@user)
0
+ = image_tag 'icons/wrench.png', :plugin => 'community_engine'
0
+ %li=link_to 'Profile'.l, edit_user_path(@user)
0
+ %li=link_to 'Account settings'.l, edit_account_user_path(@user)
0
+ %li=link_to 'Blog posts'.l, manage_user_posts_path(@user)
0
+ -if current_user.admin?
0
+ %li=link_to 'Admin dashboard'.l, admin_dashboard_path
0
- %li=link_to 'Profile'.l, user_path(@user)
0
- %li=link_to 'Blog'.l, user_posts_path(@user)
0
- %li=link_to 'Photos'.l, user_photos_path(@user)
0
- %li=link_to 'Clippings'.l, user_clippings_path(@user)
0
- %li=link_to 'Friends'.l, accepted_user_friendships_path(@user)
0
- %li=link_to 'Profile'.l, edit_user_path(@user)
0
- %li=link_to 'Account settings'.l, edit_account_user_path(@user)
0
- %li=link_to 'Blog posts'.l, manage_user_posts_path(@user)
0
- -if current_user.admin?
0
- %li=link_to 'Admin dashboard'.l, admin_dashboard_path
0
- %li="Last logged in: #{@user.last_login_at && @user.last_login_at.strftime("%m/%d/%y")}"
0
- %li= @user.created_at.strftime("Member since: %m/%d/%y")
0
- -unless @user.posts.empty?
0
- %li="#{@user.posts.count} blog posts."
0
- -unless @user.photos.empty?
0
- %li="#{@user.photos.count} photos."
0
- -unless @user.clippings.empty?
0
- %li="#{@user.clippings.count} clippings."
0
- -unless @user.comments.empty?
0
- %li="#{@user.posts.count} comments."
0
- -unless @user.accepted_friendships.empty?
0
- %li="#{@user.accepted_friendships.count} friends"
0
\ No newline at end of file
0
+ %li="You last logged in on #{@user.last_login_at && @user.last_login_at.strftime("%m/%d/%y")}"
0
+ %li= @user.created_at.strftime("Member since: %m/%d/%y")
0
+ -unless @user.posts.empty?
0
+ %li="You have written #{@user.posts.count} blog posts."
0
+ -unless @user.photos.empty?
0
+ %li="You have uploaded #{@user.photos.count} photos."
0
+ -unless @user.clippings.empty?
0
+ %li="You have created #{@user.clippings.count} clippings."
0
+ -unless @user.comments.empty?
0
+ %li="You have left #{@user.posts.count} comments."
0
+ -unless @user.accepted_friendships.empty?
0
+ %li="You have #{pluralize @user.accepted_friendships.count, 'friend'}."
0
\ No newline at end of file
Comments
No one has commented yet.