remove pluralize stuff

This commit is contained in:
pixeldesu 2014-12-09 22:07:45 +01:00
parent 98b63b45c6
commit a9a10dd04d
2 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@
%a{href: show_user_followers_path(current_user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#follower-count= current_user.follower_count
%h6.entry-subtext= pluralize(current_user.follower_count, 'Follower')
%h6.entry-subtext Followers
%a{href: show_user_friends_path(current_user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#friend-count= current_user.friend_count
@ -24,17 +24,17 @@
.row
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#asked-count= current_user.asked_count
%h6.entry-subtext= pluralize(current_user.asked_count, 'Question')
%h6.entry-subtext Questions
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= current_user.answered_count
%h6.entry-subtext= pluralize(current_user.answered_count, 'Answer')
%h6.entry-subtext Answers
.row
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#asked-count= current_user.commented_count
%h6.entry-subtext= pluralize(current_user.commented_count, 'Comment')
%h6.entry-subtext= Comments
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= current_user.smiled_count
%h6.entry-subtext= pluralize(current_user.smiled_count, 'Smile')
%h6.entry-subtext Smiles
= render 'shared/links'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'

View File

@ -27,7 +27,7 @@
%a{href: show_user_followers_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#follower-count= @user.follower_count
%h6.entry-subtext= pluralize(@user.follower_count, 'Follower')
%h6.entry-subtext Followers
%a{href: show_user_friends_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#friend-count= @user.friend_count
@ -35,8 +35,8 @@
.row
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#asked-count= @user.asked_count
%h6.entry-subtext= pluralize(@user.asked_count, 'Question')
%h6.entry-subtext Questions
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= @user.answered_count
%h6.entry-subtext= pluralize(@user.answered_count, 'Answer')
%h6.entry-subtext Answers
= render 'user/actions', user: @user, type: :follower