mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 13:16:33 +00:00
fixes display of report items on admin page
This commit is contained in:
parent
21f199c548
commit
ff624e33fa
3 changed files with 14 additions and 9 deletions
|
@ -46,7 +46,7 @@
|
|||
</ul>
|
||||
{% endif %}
|
||||
</nav>
|
||||
<div class="column content">
|
||||
<div class="column">
|
||||
{% block panel %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
{% extends 'components/card.html' %}
|
||||
{% load i18n %}
|
||||
{% block card-header %}
|
||||
<h2 class="title is-4">
|
||||
<a href="{% url 'settings-report' report.id %}">report title</a></h2>
|
||||
<h2 class="card-header-title has-background-white-ter is-block">
|
||||
<a href="{% url 'settings-report' report.id %}">report title</a>
|
||||
</h2>
|
||||
{% endblock %}
|
||||
|
||||
{% block card-content %}
|
||||
<div class="block">
|
||||
about this report
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block card-footer %}
|
||||
<div class="card-footer-item">
|
||||
footer
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<div class="block">
|
||||
{% for report in reports %}
|
||||
<li class="card">
|
||||
<div class="block">
|
||||
{% include 'settings/report_preview.html' with report=report %}
|
||||
</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue