Files
grecia/app/views/communities/_participant.html.erb
Javi Martín f9ed186909 Add rubocop spacing rules
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00

23 lines
521 B
Plaintext

<div class="comment-body">
<div class="comment-info">
<%= avatar_image(participant, seed: participant.id, 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) %>
&nbsp;&bull;&nbsp;
<span class="label round is-author">
<%= t("comments.comment.author") %>
</span>
<% end %>
</div>
</div>
</div>