* Remove `list-style-type: none` rules (this is the default). * Add `list-bulleted` and `list-inline` utility classes. * Wrap terms of service and user deletion pages in dtext `.prose` class so we don't have to redefine basic list styles on these pages.
22 lines
604 B
Plaintext
22 lines
604 B
Plaintext
<ul class="post-flag-reasons list-bulleted">
|
|
<% flags.each do |flag| %>
|
|
<li class="post-flag-reason">
|
|
<span class="prose"><%= format_text(flag.reason, inline: true) %></span>
|
|
|
|
<% if CurrentUser.can_view_flagger_on_post?(flag) %>
|
|
- <%= link_to_user(flag.creator) %>
|
|
|
|
<% if CurrentUser.is_moderator? %>
|
|
(<%= link_to_ip(flag.creator_ip_addr) %>)
|
|
<% end %>
|
|
<% end %>
|
|
|
|
- <%= time_ago_in_words_tagged(flag.created_at) %>
|
|
|
|
<% if flag.is_resolved? %>
|
|
<span class="resolved">RESOLVED</span>
|
|
<% end %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|