Structure page content with sections

This commit is contained in:
Edgar P. Burkhart 2023-12-30 10:38:30 +01:00
parent 0e5b8ea85d
commit 7f3b9c7b5c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
5 changed files with 66 additions and 40 deletions

View file

@ -10,13 +10,19 @@
{% block h2 %}{{ form.instance.icon|remix }}{{ form.instance }}{% endblock %}
{% block tables %}
{% if not form.instance|adding %}
<h3>{% translate "Statements" %}</h3>
{% include "statement/statement_table.html" %}
<h3>{% translate "Transactions" %}</h3>
{% include "transaction/transaction_table.html" %}
<section>
<h3>{% translate "Statements" %}</h3>
{% include "statement/statement_table.html" %}
</section>
<section>
<h3>{% translate "Transactions" %}</h3>
{% include "transaction/transaction_table.html" %}
</section>
{% if history %}
<h3>{% translate "History" %}</h3>
{% include "history/plot.html" %}
<section>
<h3>{% translate "History" %}</h3>
{% include "history/plot.html" %}
</section>
{% endif %}
{% endif %}
{% endblock %}