Compare commits
No commits in common. "2e3d76ad19e15599e06853cb960733f4d6bfd772" and "2d5f209c41ca5800c2dd1c1bad21bed86a523425" have entirely different histories.
2e3d76ad19
...
2d5f209c41
5 changed files with 18 additions and 4 deletions
9
nummi/main/templates/main/tag/pmvalue.html
Normal file
9
nummi/main/templates/main/tag/pmvalue.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{% extends "main/tag/value.html" %}
|
||||||
|
{% block "value" %}
|
||||||
|
{% if value %}
|
||||||
|
{% if value > 0 %}+{% endif %}
|
||||||
|
{{ block.super }}
|
||||||
|
{% else %}
|
||||||
|
–
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
5
nummi/main/templates/main/tag/value.html
Normal file
5
nummi/main/templates/main/tag/value.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{% spaceless %}
|
||||||
|
<span>
|
||||||
|
{% block "value" %}{{ value }} €{% endblock %}
|
||||||
|
</span>
|
||||||
|
{% endspaceless %}
|
|
@ -30,9 +30,9 @@
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if statements %}
|
{% if statements %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/list/pagination.html" %}
|
||||||
{% include "statement/statement_table.html" %}
|
{% include "statement/statement_table.html" %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/list/pagination.html" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% translate "No statements to show" %}</p>
|
<p>{% translate "No statements to show" %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if transactions %}
|
{% if transactions %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/list/pagination.html" %}
|
||||||
{% include "transaction/transaction_table.html" %}
|
{% include "transaction/transaction_table.html" %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/list/pagination.html" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% translate "No transactions to show" %}</p>
|
<p>{% translate "No transactions to show" %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue