22 lines
866 B
Text
22 lines
866 B
Text
<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 %>
|