Do not show budget graphs if no data
This commit is contained in:
parent
0622ac2a89
commit
2b976fd19e
@ -311,11 +311,15 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="four wide column">
|
<div class="four wide column">
|
||||||
<p class="ui header">Expenses</p>
|
{% if revision.expense %}
|
||||||
<canvas id="chartExpenses"></canvas>
|
<p class="ui header">Expenses</p>
|
||||||
|
<canvas id="chartExpenses"></canvas>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<p class="ui header">Revenue and expenses</p>
|
{% if revision.expense or revision.revenue %}
|
||||||
<canvas id="chartRevExp"></canvas>
|
<p class="ui header">Revenue and expenses</p>
|
||||||
|
<canvas id="chartRevExp"></canvas>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user