Code to catch empty lists and nudge user in the right direction.

This commit is contained in:
James Cole
2017-02-23 07:24:05 +01:00
parent b3df1f3d26
commit 563c668e3f
11 changed files with 309 additions and 228 deletions

View File

@@ -85,7 +85,7 @@
</div>
</div>
{% if budgets.count == 0 and inactive.count == 0 %}
{% include 'empty.budgets' %}
{% include 'partials.empty' with {what: 'default', type: 'budgets',route: route('budgets.create')} %}
{% endif %}
<div class="row">
{% for budget in budgets %}