aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared/_sidebar_users.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_sidebar_users.html.haml')
-rw-r--r--app/views/shared/_sidebar_users.html.haml41
1 files changed, 0 insertions, 41 deletions
diff --git a/app/views/shared/_sidebar_users.html.haml b/app/views/shared/_sidebar_users.html.haml
deleted file mode 100644
index c5475ce..0000000
--- a/app/views/shared/_sidebar_users.html.haml
+++ /dev/null
@@ -1,41 +0,0 @@
-.sidebar
- .avatar
- = link_to_user_page @user.screen_name do
- = image_tag @user.profile_image_url_original, :alt => @user.screen_name, :width => 64, :height => 64, :class => "icon img-rounded"
- .screen_name= link_to @user.screen_name, twitter_user_url(@user.screen_name)
- - if @user.registered?
- %ul.records
- %li
- %span favorited
- %span.data= @user.stats[:favorited_count]
- %li
- %span retweeted
- %span.data= @user.stats[:retweeted_count]
- %li
- %span avg. fav
- %span.data= ((@user.stats[:favorited_count] + 0.0) / @user.stats[:tweets_count]).round(2)
- %li
- %span joined
- %span.data= format_date_ago(@user.created_at)
- - else
- .alert.alert-info
- = "@#{@user.screen_name} has never signed in to aclog"
- .user_nav
- %ul.nav.nav-tabs.nav-stacked
- - if @user.registered?
- %li
- = link_to "info", :controller => "users", :action => "info", :screen_name => @user.screen_name
- %li
- = link_to "best", :controller => "users", :action => "best", :screen_name => @user.screen_name
- %li
- = link_to "timeline", :controller => "users", :action => "timeline", :screen_name => @user.screen_name
- %li
- = link_to "discovered", :controller => "users", :action => "discovered", :screen_name => @user.screen_name
- %li
- = link_to "favorited by", :controller => "users", :action => "favorited_by", :screen_name => @user.screen_name
- %li
- = link_to "retweeted by", :controller => "users", :action => "retweeted_by", :screen_name => @user.screen_name
- %li
- = link_to "given favorites", :controller => "users", :action => "given_favorites_to", :screen_name => @user.screen_name
- %li
- = link_to "given retweets", :controller => "users", :action => "given_retweets_to", :screen_name => @user.screen_name