mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 07:26:03 +01:00
added question/answer counts to profile
This commit is contained in:
parent
b1a1c83163
commit
1b48fb0343
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@
|
|||
%li.list-group-item
|
||||
Followings
|
||||
%span.badge#friend-count= @user.friend_count
|
||||
%li.list-group-item
|
||||
Questions
|
||||
%span.badge#friend-count= @user.asked_count
|
||||
%li.list-group-item
|
||||
Answers
|
||||
%span.badge#friend-count= @user.answered_count
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
= render 'shared/questionbox'
|
||||
- @answers.each do |a|
|
||||
|
|
Loading…
Reference in a new issue