diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 1f39963a53..3a148e0168 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -77,6 +77,7 @@ abstract class Controller extends BaseController View::share('DEMO_USERNAME', config('firefly.demo_username')); View::share('DEMO_PASSWORD', config('firefly.demo_password')); View::share('FF_VERSION', config('firefly.version')); + View::share('FF_BUILD_TIME', config('firefly.build_time')); // is webhooks enabled? View::share('featuringWebhooks', true === config('firefly.feature_flags.webhooks') && true === config('firefly.allow_webhooks')); diff --git a/resources/views/accounts/create.twig b/resources/views/accounts/create.twig index c52e127687..36ddda0c9a 100644 --- a/resources/views/accounts/create.twig +++ b/resources/views/accounts/create.twig @@ -90,15 +90,15 @@ var iAmOwed = '{{ 'i_am_owed_amount'|_|escape('js') }}'; var iOwe = '{{ 'i_owe_amount'|_|escape('js') }}'; - - - + + {% endblock %} {% block styles %} - - {% endblock %} diff --git a/resources/views/accounts/edit.twig b/resources/views/accounts/edit.twig index e5cbdb0266..d8a9b5226f 100644 --- a/resources/views/accounts/edit.twig +++ b/resources/views/accounts/edit.twig @@ -122,15 +122,15 @@ var iAmOwed = '{{ 'i_am_owed_amount'|_|escape('js') }}'; var iOwe = '{{ 'i_owe_amount'|_|escape('js') }}'; - - - + + {% endblock %} {% block styles %} - - {% endblock %} diff --git a/resources/views/accounts/index.twig b/resources/views/accounts/index.twig index e8e12dd7a8..213aacf9be 100644 --- a/resources/views/accounts/index.twig +++ b/resources/views/accounts/index.twig @@ -90,6 +90,6 @@ - - + + {% endblock %} diff --git a/resources/views/accounts/reconcile/index.twig b/resources/views/accounts/reconcile/index.twig index 5cef87c7af..4ed4a2ae88 100644 --- a/resources/views/accounts/reconcile/index.twig +++ b/resources/views/accounts/reconcile/index.twig @@ -133,5 +133,5 @@ var indexUrl = '{{ indexUrl }}'; var selectRangeAndBalance = '{{ 'select_range_and_balance'|_|escape('js') }}'; - + {% endblock %} diff --git a/resources/views/accounts/show.twig b/resources/views/accounts/show.twig index 6a79e5fbbc..190d0f630b 100644 --- a/resources/views/accounts/show.twig +++ b/resources/views/accounts/show.twig @@ -219,25 +219,25 @@ {% if location %} - + {% endif %} - - - - + + - - + - + {# required for groups.twig #} - + {% endblock %} {% block styles %} {% if location %} - + {% endif %} {% endblock %} diff --git a/resources/views/attachments/index.twig b/resources/views/attachments/index.twig index 307c3f1823..28e67eb014 100644 --- a/resources/views/attachments/index.twig +++ b/resources/views/attachments/index.twig @@ -68,10 +68,10 @@ {% endblock %} {% block scripts %} - + {% endblock %} {% block styles %} - + {% endblock %} diff --git a/resources/views/bills/create.twig b/resources/views/bills/create.twig index cdab3ccef1..46342c9120 100644 --- a/resources/views/bills/create.twig +++ b/resources/views/bills/create.twig @@ -68,17 +68,17 @@ {% endblock %} {% block styles %} - - - + + + {% endblock %} {% block scripts %} - - - - + + + + {# auto complete for object groups #} - - + + {% endblock %} diff --git a/resources/views/bills/edit.twig b/resources/views/bills/edit.twig index 4620647039..9e2c3e33a5 100644 --- a/resources/views/bills/edit.twig +++ b/resources/views/bills/edit.twig @@ -74,24 +74,24 @@ {% endblock %} {% block styles %} - - - {% endblock %} {% block scripts %} - - - - + + {# auto complete for object groups #} - - {% endblock %} diff --git a/resources/views/bills/index.twig b/resources/views/bills/index.twig index 49a2905d5d..abb3a8f454 100644 --- a/resources/views/bills/index.twig +++ b/resources/views/bills/index.twig @@ -41,6 +41,6 @@ {% endblock %} {% block scripts %} - - + + {% endblock %} diff --git a/resources/views/bills/show.twig b/resources/views/bills/show.twig index ec55e97220..84b4c347bb 100644 --- a/resources/views/bills/show.twig +++ b/resources/views/bills/show.twig @@ -188,10 +188,10 @@ var billCurrencySymbol = "{{ convertToPrimary ? primaryCurrency.symbol : object.data.currency.symbol }}"; var billUrl = '{{ route('chart.bill.single', [object.data.id]) }}'; - - - - + + + + {# required for groups.twig #} - + {% endblock %} diff --git a/resources/views/budgets/create.twig b/resources/views/budgets/create.twig index fd1e014b48..576eca9665 100644 --- a/resources/views/budgets/create.twig +++ b/resources/views/budgets/create.twig @@ -60,5 +60,5 @@ {% endblock %} {% block scripts %} - + {% endblock %} diff --git a/resources/views/budgets/edit.twig b/resources/views/budgets/edit.twig index ebe8d604b7..5f78e91ebc 100644 --- a/resources/views/budgets/edit.twig +++ b/resources/views/budgets/edit.twig @@ -61,5 +61,5 @@ {% endblock %} {% block scripts %} - + {% endblock %} diff --git a/resources/views/budgets/index.twig b/resources/views/budgets/index.twig index 4ee60e68a4..014742cc74 100644 --- a/resources/views/budgets/index.twig +++ b/resources/views/budgets/index.twig @@ -465,11 +465,11 @@ {% endblock %} {% block styles %} - + {% endblock %} {% block scripts %} - + - - + + {% endblock %} diff --git a/resources/views/budgets/no-budget.twig b/resources/views/budgets/no-budget.twig index ac5fcf44cc..3b48d8ed79 100644 --- a/resources/views/budgets/no-budget.twig +++ b/resources/views/budgets/no-budget.twig @@ -60,5 +60,5 @@ {% endblock %} {% block scripts %} {# required for groups.twig #} - + {% endblock %} diff --git a/resources/views/budgets/show.twig b/resources/views/budgets/show.twig index 8f3c53aefa..5b2915d575 100644 --- a/resources/views/budgets/show.twig +++ b/resources/views/budgets/show.twig @@ -230,10 +230,10 @@ {% endif %} - - - - + + + + {# required for groups.twig #} - + {% endblock %} diff --git a/resources/views/categories/create.twig b/resources/views/categories/create.twig index 0556ac39ba..1301ef0f45 100644 --- a/resources/views/categories/create.twig +++ b/resources/views/categories/create.twig @@ -53,5 +53,5 @@ {% endblock %} {% block scripts %} - + {% endblock %} diff --git a/resources/views/categories/edit.twig b/resources/views/categories/edit.twig index aa9b6263d6..8d9e7b863a 100644 --- a/resources/views/categories/edit.twig +++ b/resources/views/categories/edit.twig @@ -59,5 +59,5 @@ {% endblock %} {% block scripts %} - + {% endblock %} diff --git a/resources/views/categories/index.twig b/resources/views/categories/index.twig index cefb5c0df2..e4e19944ac 100644 --- a/resources/views/categories/index.twig +++ b/resources/views/categories/index.twig @@ -40,10 +40,10 @@ {% endblock %} {% block styles %} - + {% endblock %} {% block scripts %} - - + + {% endblock %} diff --git a/resources/views/categories/no-category.twig b/resources/views/categories/no-category.twig index 7dde51d679..e616ae72cb 100644 --- a/resources/views/categories/no-category.twig +++ b/resources/views/categories/no-category.twig @@ -60,5 +60,5 @@ {% endblock %} {% block scripts %} {# required for groups.twig #} - + {% endblock %} diff --git a/resources/views/categories/show.twig b/resources/views/categories/show.twig index 5a8563356e..b0b0788130 100644 --- a/resources/views/categories/show.twig +++ b/resources/views/categories/show.twig @@ -113,10 +113,10 @@ var everything = '{{ route('chart.category.all', [category.id]) }}'; var specific = '{{ route('chart.category.specific', [category.id, start.format('Ymd')]) }}'; - - - - + + + + {# required for groups.twig #} - + {% endblock %} diff --git a/resources/views/currencies/index.twig b/resources/views/currencies/index.twig index c05c82ea20..abe1ea20e5 100644 --- a/resources/views/currencies/index.twig +++ b/resources/views/currencies/index.twig @@ -98,5 +98,5 @@ var redirectUrl = "{{ route('currencies.index') }}"; var updateCurrencyUrl = "{{ route('api.v1.currencies.update', ['']) }}"; - + {% endblock %} diff --git a/resources/views/index.twig b/resources/views/index.twig index ec0655f809..58ad2587cb 100644 --- a/resources/views/index.twig +++ b/resources/views/index.twig @@ -211,14 +211,14 @@ {% endif %} - - - - - + + {% endblock %} {% block styles %} {% endblock %} diff --git a/resources/views/layout/default.twig b/resources/views/layout/default.twig index db253c4ec8..11112c6e64 100644 --- a/resources/views/layout/default.twig +++ b/resources/views/layout/default.twig @@ -29,14 +29,14 @@ {# CSS things #} - - {# the theme #} - {% if 'browser' == darkMode %} - - - {% endif %} {% if 'dark' == darkMode %} - - {% endif %} {% if 'light' == darkMode %} - - {% endif %} {# Firefly III customisations #} - + {# Extra CSS for the demo: #} {% if not shownDemo %} - {% endif %} {# Any local custom CSS. #} {% block styles %}{% endblock %} {# this entry is in the header so it's loaded early #} @@ -228,8 +228,8 @@ {% block definitions %}{% endblock %} {# Moment JS #} - - + {# All kinds of variables. #} @@ -238,32 +238,32 @@ type="text/javascript" nonce="{{ JS_NONCE }}"> {# Base script: jquery and bootstrap #} - + {# Vue scripts and components. Only loaded when needed #} {% if VUE_SCRIPT_NAME %} - - + {% endif %} {# date range picker, current template, etc. #} - - + - + {# Firefly III code #} - - + + {% if not shownDemo %} - - + + {% endif %} {% block scripts %}{% endblock %} diff --git a/resources/views/layout/empty.twig b/resources/views/layout/empty.twig index 444a336971..4b28679032 100644 --- a/resources/views/layout/empty.twig +++ b/resources/views/layout/empty.twig @@ -14,11 +14,11 @@ {# CSS things #} {# libraries #} - - + + {# the theme #} - + {% if 'browser' == darkMode %} - - + + {% endif %} {% if 'dark' == darkMode %} - + {% endif %} {% if 'light' == darkMode %} - + {% endif %} {# Firefly III customisations #} - + {# favicons #} @@ -61,7 +61,7 @@ {% block content %}{% endblock %} - + {% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} diff --git a/resources/views/layout/guest.twig b/resources/views/layout/guest.twig index 889a241aa5..87717a72ba 100644 --- a/resources/views/layout/guest.twig +++ b/resources/views/layout/guest.twig @@ -24,11 +24,11 @@ {# CSS things #} {# libraries #} - - + + {# the theme #} - + {% if 'browser' == darkMode %} - - + + {% endif %} {% if 'dark' == darkMode %} - + {% endif %} {% if 'light' == darkMode %} - + {% endif %} {# Firefly III customisations #} - + {# favicons #} @@ -75,8 +75,8 @@ Developed by James Cole, the source code is licensed under the AGPL-3.0-or-later. - - + + {% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} diff --git a/resources/views/layout/install.twig b/resources/views/layout/install.twig index 29e7bc88a8..7693e2265d 100644 --- a/resources/views/layout/install.twig +++ b/resources/views/layout/install.twig @@ -35,8 +35,8 @@ Developed by James Cole, the source code is licensed under the AGPL-3.0-or-later. - - + + {% block scripts %}{% endblock %} {% if config('firefly.tracker_site_id') != '' and config('firefly.tracker_url') != '' %} diff --git a/resources/views/layout/v3/session.twig b/resources/views/layout/v3/session.twig index 33d893678e..87f52d5937 100644 --- a/resources/views/layout/v3/session.twig +++ b/resources/views/layout/v3/session.twig @@ -7,10 +7,10 @@