app/views/communities/_participant.html.erb
<div class="comment-body">
<div class="comment-info">
<%= render Shared::AvatarComponent.new(participant, size: 32, class: "author-photo") %>
<div class="comment-info">
<span class="user-name">
<%= link_to participant.name, user_path(participant) %>
</span>
<% if author?(@community, participant) %>
•
<span class="label round is-author">
<%= t("comments.comment.author") %>
</span>
<% end %>
</div>
</div>
</div>