adds hiding users by moderators
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
|
||||
<div class="debate-info">
|
||||
<%= avatar_image(@debate.author, size: 32, class: 'author-photo') %>
|
||||
<!-- if @debate.author.hidden? %>
|
||||
<% if @debate.author.hidden? %>
|
||||
<i class="icon-deleted author-deleted"></i>
|
||||
<span class="author">
|
||||
<%= t("debates.show.author_deleted") %>
|
||||
</span>
|
||||
else -->
|
||||
<% else %>
|
||||
<span class="author">
|
||||
<%= @debate.author.name %>
|
||||
</span>
|
||||
@@ -29,7 +29,7 @@
|
||||
<%= @debate.author.official_position %>
|
||||
</span>
|
||||
<% end %>
|
||||
<!-- end -->
|
||||
<% end %>
|
||||
<% if @debate.author.verified_organization? %>
|
||||
•
|
||||
<span class="label round is-association">
|
||||
|
||||
Reference in New Issue
Block a user