restyling user's page
This commit is contained in:
committed by
Juanjo Bazán
parent
e8232f296e
commit
fe0618e2c1
@@ -2,7 +2,10 @@
|
||||
<% @comments.each do |comment| %>
|
||||
<tr id="debate_<%= comment.id %>">
|
||||
<td>
|
||||
<i><%= t("users.show.comment_to") %> <%= link_to comment.commentable.title, comment.commentable %></i>
|
||||
<i>
|
||||
<%= t("users.show.comment_to") %>
|
||||
<%= comment.commentable.hidden? ? comment.commentable.title : link_to(comment.commentable.title, comment.commentable) %>
|
||||
</i>
|
||||
<br>
|
||||
<%= comment.body %>
|
||||
</td>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<h1><%= avatar_image(@user, seed: @user.id, size: 60) %> <%= @user.name %></h1>
|
||||
<section role="main">
|
||||
<div class="wrap row">
|
||||
<div class="small-12 medium-9 column">
|
||||
|
||||
<h2><%= avatar_image(@user, seed: @user.id, size: 60) %> <%= @user.name %></h2>
|
||||
|
||||
<dl class="sub-nav">
|
||||
<% @valid_filters.each do |filter| %>
|
||||
@@ -15,3 +19,7 @@
|
||||
</dl>
|
||||
|
||||
<%= render "activity_page" %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -337,7 +337,7 @@ en:
|
||||
one: "1 Comment"
|
||||
other: "%{count} Comments"
|
||||
no_activity: "User has no public activity"
|
||||
comment_to: "Comment in "
|
||||
comment_to: "Comment in: "
|
||||
unauthorized:
|
||||
default: "You do not have permission to access this page."
|
||||
manage:
|
||||
|
||||
@@ -337,7 +337,7 @@ es:
|
||||
one: "1 Comentario"
|
||||
other: "%{count} Comentarios"
|
||||
no_activity: "Usuario sin actividad pública"
|
||||
comment_to: "Comentario en "
|
||||
comment_to: "Comentario en: "
|
||||
unauthorized:
|
||||
default: "No tienes permiso para acceder a esta página."
|
||||
manage:
|
||||
|
||||
Reference in New Issue
Block a user