From d2ac8b7f43a3a464ce8f517fa1c4152ecfeb7d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Wed, 19 Aug 2015 16:04:34 +0200 Subject: [PATCH] applies hidden users styles commented --- app/views/comments/_comment.html.erb | 22 ++++++++++---------- app/views/debates/show.html.erb | 30 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index ecbb0b694..a60f147ba 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -6,25 +6,24 @@ <% else %> <%= avatar_image(comment.user, size: 32, class: 'left') %> - + + end -->
- + + else --> <%= comment.user.name %> + <% if comment.user.official? %> +  •  + + <%= comment.user.official_position %> + + <% end %> -  • <%= time_ago_in_words(comment.created_at) %> - <% if comment.user.official? %> -  •  - - <%= comment.user.official_position %> - - <% end %> <% if comment.user.verified_organization? %>  •  @@ -37,6 +36,7 @@ <%= t("debates.comment.author") %> <% end %> +  • <%= time_ago_in_words(comment.created_at) %>
<% if comment.user.official? %> diff --git a/app/views/debates/show.html.erb b/app/views/debates/show.html.erb index db8cbdc14..964e7d43d 100644 --- a/app/views/debates/show.html.erb +++ b/app/views/debates/show.html.erb @@ -14,22 +14,22 @@
<%= avatar_image(@debate.author, size: 32, class: 'author-photo') %> - - - - <%= t("debates.show.author_deleted") %> - - - - <%= @debate.author.name %> - - - <% if @debate.author.official? %> -  •  - - <%= @debate.author.official_position %> + + + <%= @debate.author.name %> + + <% if @debate.author.official? %> +  •  + + <%= @debate.author.official_position %> + + <% end %> + <% if @debate.author.verified_organization? %>  •