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:
|
||||
one: "1 Comment"
|
||||
other: "%{count} Comments"
|
||||
no_activity: "Usuario sin actividad pública"
|
||||
no_activity: "User has no public activity"
|
||||
comment_to: "Comment in "
|
||||
unauthorized:
|
||||
default: "You do not have permission to access this page."
|
||||
manage:
|
||||
|
||||
@@ -337,6 +337,7 @@ es:
|
||||
one: "1 Comentario"
|
||||
other: "%{count} Comentarios"
|
||||
no_activity: "Usuario sin actividad pública"
|
||||
comment_to: "Comentario en "
|
||||
unauthorized:
|
||||
default: "No tienes permiso para acceder a esta página."
|
||||
manage:
|
||||
|
||||
Reference in New Issue
Block a user