otwarchive-symphonyarchive/app/views/inbox/_inbox_comment_contents.html.erb

32 lines
1 KiB
Text
Raw Normal View History

2026-03-11 22:22:11 +00:00
<h4 class="heading byline">
<% if feedback_comment.by_anonymous_creator? %>
<%= ts('Anonymous Creator on') %> <%= commentable_description_link(feedback_comment) %>
<% else %>
<%= get_commenter_pseud_or_name(feedback_comment) %> <%= ts('on') %> <%= commentable_description_link(feedback_comment) %>
<% end %>
<% if feedback_comment.unreviewed? %>
<span class="unreviewed status">
<%= ts("(Unreviewed)") %>
</span>
<% end %>
<span class="posted datetime">
<%= distance_of_time_in_words_to_now(feedback_comment.created_at) %>
</span>
</h4>
<div class="icon">
<% if !feedback_comment.pseud.nil? %>
<% if feedback_comment.by_anonymous_creator? %>
<span class="anonymous icon"><!-- anonymous creator icon holder --></span>
<% else %>
<%= icon_display(feedback_comment.pseud.user, feedback_comment.pseud) %>
<% end %>
<% else %>
<span class="visitor icon"><!-- visitor icon holder --></span>
<% end %>
</div>
<blockquote class="userstuff">
<%= raw feedback_comment.sanitized_content %>
</blockquote>