diff --git a/resources/views/index.twig b/resources/views/index.twig index 8c9b242d13..474bf3a0de 100644 --- a/resources/views/index.twig +++ b/resources/views/index.twig @@ -5,182 +5,183 @@ {% endblock %} {% block content %} {% include 'partials.boxes' %} +
+
+ {# ACCOUNTS #} + -
-
- {# ACCOUNTS #} -
-
-

{{ 'yourAccounts'|_ }}

+ {# BUDGETS #} + -
- -
- +
+ {# TRANSACTIONS #} +
+ {% for data in transactions %} +
+
+

{{ data[1].name }}

- {# BUDGETS #} - - {# CATEGORIES #} -
- + {% if data[0].count > 0 %} +
+ {% include 'list.journals-tiny' with {'transactions': data[0],'account': data[1]} %} +
+ {% else %} +
+

+ + {{ trans('firefly.no_transactions_account', {name: data[1].name}) }} + +

+ +
+ {% endif %} + + +
+ {% endfor %}
-
- -
- -
-
-
- {# TRANSACTIONS #} -
- {% for data in transactions %} + + {% if billCount > 0 %} + {# BILLS #}
- - {% if data[0].count > 0 %} -
- {% include 'list.journals-tiny' with {'transactions': data[0],'account': data[1]} %} -
- {% else %} -
-

- - {{ trans('firefly.no_transactions_account', {name: data[1].name}) }} - -

- -
- {% endif %} - - -
- {% endfor %} -
- - {% if billCount > 0 %} - {# BILLS #} -
- -
-
- +
+
+ +
+
+
- + {% endif %} + + {# box for piggy bank data (JSON) #} +
+
- {% endif %} - - {# box for piggy bank data (JSON) #} -
-
-
-
-
- {# EXPENSE ACCOUNTS #} - - {# OPTIONAL REVENUE ACCOUNTS #} - {% if showDeps %} + + {# OPTIONAL REVENUE ACCOUNTS #} + {% if showDeps %} + + {% endif %} +
+
{% endblock %} {% block scripts %} - +