<% if comment.not_visible? %> <%= t("debates.comment.deleted") %> <% else %> <%= avatar_image(comment.user, size: 32, class: 'left') %> <% if comment.user.hidden? %> <% end %>
<% if comment.user.hidden? %> <%= t("debates.comment.user_deleted") %> <% else %> <%= comment.user.name %> <% if comment.user.official? %>  •  <%= comment.user.official_position %> <% end %> <% end %> <% if comment.user.verified_organization? %>  •  <%= t("shared.organization") %> <% end %> <% if comment.user_id == @debate.author_id %>  •  <%= t("debates.comment.author") %> <% end %>  • <%= time_ago_in_words(comment.created_at) %>
<% if comment.user.official? %>

<%= comment.body %>

<% elsif comment.user_id == @debate.author_id %>

<%= comment.body %>

<% else %>

<%= comment.body %>

<% end %> <%= render 'comments/votes', comment: comment %>

<%= t("debates.comment.responses", count: comment.children_count) %> <% if user_signed_in? %>  |  <%= link_to(comment_link_text(comment), "", class: "js-add-comment-link", data: {'id': dom_id(comment)}) %> <% if moderator? %> <%= render 'comments/actions', comment: comment %> <% end %> <%= render 'comments/form', {parent: comment, toggeable: true} %> <% end %>

<% end %>
<%= render comment.children.with_hidden.reorder('id DESC, lft') %>