diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 9ea5cc930..c71cac18c 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -11,31 +11,33 @@
<%= comment.user.name %>  • <%= time_ago_in_words(comment.created_at) %> - + <% if comment.user.official? %>  •  - - Cargo oficial + + <%= comment.user.official_position %> - -  •  - - Puesto en la asociación - - + <% end %> + <% if comment.user.verified_organization? %> +  •  + + <%= t("shared.organization") %> + + <% end %> + <% if comment.user == @debate.author %>  •  <%= t("debates.comment.author") %> - + <% end %>
- + <% if comment.user.official? %>

<%= comment.body %>

- + <% elsif comment.user == @debate.author %>

<%= comment.body %>

- + <% else %>

<%= comment.body %>

- + <% end %> <%= render 'comments/votes', comment: comment %> @@ -64,4 +66,4 @@ - \ No newline at end of file + diff --git a/config/locales/es.yml b/config/locales/es.yml index c63f432b2..87afd21a6 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -134,6 +134,7 @@ es: shared: tags_cloud: tags: Temas + organization: Organización mailer: comment: subject: Alguien ha comentado en tu debate