add vote counters to comments
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</span>
|
||||
|
||||
<p class="reply">
|
||||
<%= t("debates.debate.responses", count: comment.children_count) %>
|
||||
<%= t("debates.comment.responses", count: comment.children_count) %>
|
||||
<% if user_signed_in? %>
|
||||
|
|
||||
<%= render 'comments/form', {parent: comment, toggeable: true} %>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<span>
|
||||
númerototal votos
|
||||
<!-- <%= t('debates.comment.votes_weighted_score', score: comment.weighted_score) %> -->
|
||||
<%= t('debates.comment.votes', count: comment.total_votes) %>
|
||||
</span>
|
||||
|
|
||||
<span class="in_favor">
|
||||
@@ -16,4 +17,4 @@
|
||||
<i class="icon-angle-down"></i>
|
||||
<% end %>
|
||||
<%= comment.get_dislikes.size %>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user