adds comments to user's page
This commit is contained in:
committed by
Juanjo Bazán
parent
7b2e09d54d
commit
e8232f296e
@@ -0,0 +1,13 @@
|
|||||||
|
<table class="clear">
|
||||||
|
<% @comments.each do |comment| %>
|
||||||
|
<tr id="debate_<%= comment.id %>">
|
||||||
|
<td>
|
||||||
|
<i><%= t("users.show.comment_to") %> <%= link_to comment.commentable.title, comment.commentable %></i>
|
||||||
|
<br>
|
||||||
|
<%= comment.body %>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<% end %>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<%= paginate @comments %>
|
||||||
|
|||||||
@@ -336,7 +336,8 @@ en:
|
|||||||
comments:
|
comments:
|
||||||
one: "1 Comment"
|
one: "1 Comment"
|
||||||
other: "%{count} Comments"
|
other: "%{count} Comments"
|
||||||
no_activity: "Usuario sin actividad pública"
|
no_activity: "User has no public activity"
|
||||||
|
comment_to: "Comment in "
|
||||||
unauthorized:
|
unauthorized:
|
||||||
default: "You do not have permission to access this page."
|
default: "You do not have permission to access this page."
|
||||||
manage:
|
manage:
|
||||||
|
|||||||
@@ -337,6 +337,7 @@ es:
|
|||||||
one: "1 Comentario"
|
one: "1 Comentario"
|
||||||
other: "%{count} Comentarios"
|
other: "%{count} Comentarios"
|
||||||
no_activity: "Usuario sin actividad pública"
|
no_activity: "Usuario sin actividad pública"
|
||||||
|
comment_to: "Comentario en "
|
||||||
unauthorized:
|
unauthorized:
|
||||||
default: "No tienes permiso para acceder a esta página."
|
default: "No tienes permiso para acceder a esta página."
|
||||||
manage:
|
manage:
|
||||||
|
|||||||
Reference in New Issue
Block a user