Update month page template
This commit is contained in:
parent
f8c0f9dced
commit
3fd87ff370
2 changed files with 9 additions and 7 deletions
|
@ -6,10 +6,12 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %}
|
{% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %}
|
||||||
{% block table %}
|
{% block table %}
|
||||||
<h3>{% translate "Transactions" %}</h3>
|
|
||||||
{{ block.super }}
|
|
||||||
{% if not category %}
|
{% if not category %}
|
||||||
<h3>{% translate "Categories" %}</h3>
|
<h3>{% translate "Categories" %}</h3>
|
||||||
{% category_plot transactions month=month %}
|
{% category_plot transactions month=month %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<section>
|
||||||
|
<h3>{% translate "Transactions" %}</h3>
|
||||||
|
{{ block.super }}
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
{% block table %}
|
{% block table %}
|
||||||
{% if history %}
|
{% if history %}
|
||||||
<section>
|
<section>
|
||||||
<h3>
|
<h3>{% translate "History" %}</h3>
|
||||||
{% translate "History" %}
|
|
||||||
</h2>
|
|
||||||
{% include "history/plot.html" %}
|
{% include "history/plot.html" %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not category %}
|
{% if not category %}
|
||||||
<h3>{% translate "Categories" %}</h3>
|
<section>
|
||||||
{% category_plot transactions year=year %}
|
<h3>{% translate "Categories" %}</h3>
|
||||||
|
{% category_plot transactions year=year %}
|
||||||
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue