Retrospring/app/views/user/_stats.html.haml

22 lines
878 B
Plaintext
Raw Normal View History

.panel.panel-default.profile--panel
.panel-heading
%h3.panel-title Stats
2014-12-19 14:35:54 -08:00
.panel-body
.row
2014-12-19 14:35:54 -08:00
%a{href: show_user_followers_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
2014-12-19 14:35:54 -08:00
%h4.entry-text#follower-count= @user.follower_count
%h6.entry-subtext Followers
%a{href: show_user_friends_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
2014-12-19 14:35:54 -08:00
%h4.entry-text#friend-count= @user.friend_count
%h6.entry-subtext Following
2014-12-19 14:38:09 -08:00
.row
%a{href: show_user_questions_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#asked-count= @user.asked_count
%h6.entry-subtext Questions
%a{href: show_user_profile_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= @user.answered_count
%h6.entry-subtext Answers