Add timestamp to reports.

This commit is contained in:
Ben Rog-Wilhelm 2024-03-31 19:08:13 -05:00
parent 4fc50e16ac
commit dd22ee61b9
4 changed files with 14 additions and 3 deletions

View file

@ -189,7 +189,7 @@
<pre></pre>
<ul style="padding-left:20px; margin-bottom: 0;word-wrap:break-word">
{% for f in p.flags(v) %}
<li><a style="font-weight:bold" href="{{f.user.url}}">{{f.user.username}}</a>{% if f.reason %}: {{f.realreason(v) | safe}}{% endif %}</li>
<li><a style="font-weight:bold" href="{{f.user.url}}">{{f.user.username}}</a>{% if f.reason %}: <span data-bs-toggle="tooltip" data-bs-placement="bottom" id="report_timestamp_{{f.id}}" onmouseover="timestamp('report_timestamp_{{f.id}}','{{f.created_utc}}')">{{f.realreason(v) | safe}}{% endif %}</span></li>
{% endfor %}
</ul>
</div>