diff --git a/app/views/users/_comments.html.erb b/app/views/users/_comments.html.erb index e69de29bb..62be0edc2 100644 --- a/app/views/users/_comments.html.erb +++ b/app/views/users/_comments.html.erb @@ -0,0 +1,13 @@ + + <% @comments.each do |comment| %> + + + + <% end %> +
+ <%= t("users.show.comment_to") %> <%= link_to comment.commentable.title, comment.commentable %> +
+ <%= comment.body %> +
+ +<%= paginate @comments %> diff --git a/config/locales/en.yml b/config/locales/en.yml index d4e838961..cb3c53059 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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: diff --git a/config/locales/es.yml b/config/locales/es.yml index 90c80f8b5..89eed3583 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -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: