From a9a10dd04d6e6450d927c81da95424e5859d9f39 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Tue, 9 Dec 2014 22:07:45 +0100 Subject: [PATCH] remove pluralize stuff --- app/views/static/index.html.haml | 10 +++++----- app/views/user/_profile_info.html.haml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/static/index.html.haml b/app/views/static/index.html.haml index c6c7ba0d..b057b687 100644 --- a/app/views/static/index.html.haml +++ b/app/views/static/index.html.haml @@ -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' diff --git a/app/views/user/_profile_info.html.haml b/app/views/user/_profile_info.html.haml index 46dfa7c5..de1376a0 100644 --- a/app/views/user/_profile_info.html.haml +++ b/app/views/user/_profile_info.html.haml @@ -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 \ No newline at end of file