added links to pages

This commit is contained in:
Andreas N 2014-12-19 22:37:04 +01:00
parent 46c9ccc0ac
commit 75bca2430b
1 changed files with 8 additions and 6 deletions

View File

@ -33,10 +33,12 @@
%h4.entry-text#friend-count= @user.friend_count %h4.entry-text#friend-count= @user.friend_count
%h6.entry-subtext Following %h6.entry-subtext Following
.row .row
.col-md-6.col-sm-6.col-xs-6 %a{href: show_user_questions_path(@user.screen_name)}
%h4.entry-text#asked-count= @user.asked_count .col-md-6.col-sm-6.col-xs-6
%h6.entry-subtext Questions %h4.entry-text#asked-count= @user.asked_count
.col-md-6.col-sm-6.col-xs-6 %h6.entry-subtext Questions
%h4.entry-text#answered-count= @user.answered_count %a{href: show_user_profile_path(@user.screen_name)}
%h6.entry-subtext Answers .col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= @user.answered_count
%h6.entry-subtext Answers
= render 'user/actions', user: @user, type: :follower = render 'user/actions', user: @user, type: :follower