diff --git a/resources/views/index.twig b/resources/views/index.twig index c763197739..eaa6aa540b 100644 --- a/resources/views/index.twig +++ b/resources/views/index.twig @@ -59,21 +59,54 @@ - - {% if data[0].count > 0 %}
+
+ {{ 'create_new_transaction'|_ }} + + +
{% include 'list.journals-tiny' with {'transactions': data[0],'account': data[1]} %}
{% else %}
+
+ {{ 'create_new_transaction'|_ }} + + +

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

+
{% endif %} @@ -146,7 +179,7 @@ var piggyInfoUri = '{{ route('json.fp.piggy-banks') }}'; var todayText = ' {{ trans('firefly.today')|escape('js') }}'; - + {# render vertical line with text "today" #} {% if start.lte(today) and end.gte(today) %} var today = {{ today.diffInDays(start) + 1 }}; {% else %}