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>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
<div class="column content">
|
<div class="column">
|
||||||
{% block panel %}{% endblock %}
|
{% block panel %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,14 +1,19 @@
|
||||||
{% extends 'components/card.html' %}
|
{% extends 'components/card.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% block card-header %}
|
{% block card-header %}
|
||||||
<h2 class="title is-4">
|
<h2 class="card-header-title has-background-white-ter is-block">
|
||||||
<a href="{% url 'settings-report' report.id %}">report title</a></h2>
|
<a href="{% url 'settings-report' report.id %}">report title</a>
|
||||||
|
</h2>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block card-content %}
|
{% block card-content %}
|
||||||
about this report
|
<div class="block">
|
||||||
|
about this report
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block card-footer %}
|
{% block card-footer %}
|
||||||
footer
|
<div class="card-footer-item">
|
||||||
|
footer
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul>
|
<div class="block">
|
||||||
{% for report in reports %}
|
{% for report in reports %}
|
||||||
<li class="card">
|
<div class="block">
|
||||||
{% include 'settings/report_preview.html' with report=report %}
|
{% include 'settings/report_preview.html' with report=report %}
|
||||||
</li>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue