From 62a7b3238911e4218c5a4bd380f94a11eb4a9efc Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Tue, 12 Jul 2016 13:55:52 +0200 Subject: [PATCH] Adds texts to icons on comments votes --- app/views/comments/_votes.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/comments/_votes.html.erb b/app/views/comments/_votes.html.erb index 20fc2d1cf..8ee315e35 100644 --- a/app/views/comments/_votes.html.erb +++ b/app/views/comments/_votes.html.erb @@ -7,7 +7,9 @@ <% if can?(:vote, comment) %> <%= link_to vote_comment_path(comment, value: 'yes'), method: "post", remote: true do %> - + + <%= t('votes.agree') %> + <% end %> <% else %> @@ -19,7 +21,9 @@ <% if can?(:vote, comment) %> <%= link_to vote_comment_path(comment, value: 'no'), method: "post", remote: true do %> - + + <%= t('votes.disagree') %> + <% end %> <% else %>