otwarchive-symphonyarchive/app/views/pseuds/_pseud_module.html.erb

23 lines
866 B
Text
Raw Normal View History

2026-03-11 22:22:11 +00:00
<div class="header module">
<h4 class="heading"><%= link_to(pseud.name, user_pseud_path(pseud.user, pseud)) %>
<% if (pseud.name != pseud.user_name || pseud.user.pseuds.size > 1) %>
(<%= link_to(pseud.user_name, user_path(pseud.user)) %>)
<% end %>
</h4>
<% unless authored_items(pseud, @work_counts, @rec_counts).blank? %>
<h5 class="heading"><%= authored_items(pseud, @work_counts, @rec_counts) %></h5>
<% end %>
<div class="icon">
<%= icon_display(pseud.user, pseud) %>
</div>
<%# created_at date to display to admins for mutes and blocks %>
<% if local_assigns[:date] && logged_in_as_admin? %>
<p class="datetime"><%= date %></p>
<% end %>
</div>
<% if pseud.description.present? %>
<blockquote class="userstuff">
<%= raw sanitize_field(pseud, :description, image_safety_mode: true) %>
</blockquote>
<% end %>