mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Places first item of report history at top
This commit is contained in:
parent
4f6a235d77
commit
040dca0c31
1 changed files with 11 additions and 11 deletions
|
@ -67,6 +67,17 @@
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="mt-0">
|
<ul class="mt-0">
|
||||||
|
<li class="mb-2">
|
||||||
|
<div class="is-flex">
|
||||||
|
<p class="mb-0 is-flex-grow-1">
|
||||||
|
{% blocktrans trimmed with user=report.reporter|username user_link=report.reporter.local_path %}
|
||||||
|
<a href="{{ user_link }}">{{ user}}</a> opened this report
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
<span class="tag">{{ report.created_date }}</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
{% for comment in report.reportaction_set.all %}
|
{% for comment in report.reportaction_set.all %}
|
||||||
<li class="mb-2">
|
<li class="mb-2">
|
||||||
<div class="is-flex">
|
<div class="is-flex">
|
||||||
|
@ -92,17 +103,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<li class="mb-2">
|
|
||||||
<div class="is-flex">
|
|
||||||
<p class="mb-0 is-flex-grow-1">
|
|
||||||
{% blocktrans trimmed with user=report.reporter|username user_link=report.reporter.local_path %}
|
|
||||||
<a href="{{ user_link }}">{{ user}}</a> opened this report
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
<span class="tag">{{ report.created_date }}</span>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<form class="block" name="report-comment" method="post" action="{% url 'settings-report' report.id %}">
|
<form class="block" name="report-comment" method="post" action="{% url 'settings-report' report.id %}">
|
||||||
|
|
Loading…
Reference in a new issue