mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Different call to count()
This commit is contained in:
parent
2a5841c631
commit
5161971373
@ -5,14 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ dump(accounts.count) }}
|
{% if accounts.count() > 0 %}
|
||||||
{{ dump(accounts.count()) }}
|
|
||||||
{{ dump(accounts.getCollection.count()) }}
|
|
||||||
{{ dump(accounts.getCollection().count()) }}
|
|
||||||
{{ dump(accounts) }}
|
|
||||||
|
|
||||||
|
|
||||||
{% if accounts.count > 0 %}
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||||
<div class="box" id="account-index-{{ objectType }}">
|
<div class="box" id="account-index-{{ objectType }}">
|
||||||
@ -72,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if accounts.count == 0 and page == 1 %}
|
{% if accounts.count() == 0 and page == 1 %}
|
||||||
{% include 'partials.empty' with {objectType: objectType, type: 'accounts',route: route('accounts.create', [objectType])} %}
|
{% include 'partials.empty' with {objectType: objectType, type: 'accounts',route: route('accounts.create', [objectType])} %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user