Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
update views
Sander Dorigo15c1324c16ee
diff --git a/resources/views/accounts/delete.blade.php b/resources/views/accounts/delete.blade.phpnew file mode 100644index 0000000000..f7ee02805c--- /dev/null+++ b/resources/views/accounts/delete.blade.php@@ -0,0 +1,55 @@+@extends('layout.v3.session')+@section('content')++ <form method="POST" action="{{ route('accounts.destroy', [$account->id]) }}" accept-charset="UTF-8"+ class="form-horizontal" id="destroy">+ <input name="_token" type="hidden" value="{{ csrf_token() }}">+ <div class="row">+ <div class="col-lg-6 offset-lg-3 col-md-12 col-sm-12">+ <div class="card card-outline card-danger">+ <div class="card-header">+ <h3 class="card-title">{{ trans('form.delete_account', ['name' => $account->name]) }}</h3>+ </div>+ <div class="card-body">+ <p class="text-danger">+ {{ trans('form.permDeleteWarning') }}+ </p>++ <p>+ {{ trans('form.account_areYouSure', ['name' => $account->name]) }}+ </p>++ @if($account->transactions->count() > 0 || $account->piggyBanks->count() > 0)+ <p>+ @if($account->transactions->count())+ {{ Lang::choice('form.also_delete_transactions', $account->transactions->count(), ['count' => $account->transactions->count()]) }}+ @endif<br/>+ @if($account->piggyBanks()->count() > 0)+ {{ Lang::choice('form.also_delete_piggyBanks', $account->piggyBanks->count(), ['count' => $account->piggyBanks->count()]) }}+ @endif+ </p>+ @endif+ @if($account->transactions()->count() > 0 && 'Asset account' === $account->accountType->type)+ <p class="text-success">+ {{ trans_choice('firefly.save_transactions_by_moving', $account->transactions->count() ) }}+ </p>++ <p>+ {{ Html::select('move_account_before_delete', $accountList, null)->class('form-select') }}+ </p>+ @else+ <input type="hidden" name="move_account_before_delete" value="0"/>+ @endif++ </div>+ <div class="card-footer text-end">+ <input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}"+ class="btn btn-danger"/>+ <a href="{{ URL::previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>+ </div>+ </div>+ </div>+ </div>++ </form>+@endsectiondiff --git a/resources/views/accounts/delete.twig b/resources/views/accounts/delete.twigdeleted file mode 100644index 40497e8f48..0000000000--- a/resources/views/accounts/delete.twig+++ /dev/null@@ -1,55 +0,0 @@-@extends('layout.v3.session')-@section('content')-- <form method="POST" action="{{ route('accounts.destroy',account.id) }}" accept-charset="UTF-8"- class="form-horizontal" id="destroy">- <input name="_token" type="hidden" value="{{ csrf_token() }}">- <div class="row">- <div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12">- <div class="box box-danger">- <div class="card-header">- <h3 class="card-title">{{ trans('form.delete_account', {'name': account.name}) }}</h3>- </div>- <div class="card-body">- <p class="text-danger">- {{ trans('form.permDeleteWarning') }}- </p>-- <p>- {{ trans('form.account_areYouSure', {'name': account.name}) }}- </p>-- {% if account.transactions|length > 0 or account.piggyBanks|length > 0 %}- <p>- {% if account.transactions|length > 0 %}- {{ Lang.choice('form.also_delete_transactions', account.transactions|length, {count: account.transactions|length}) }}- {% endif %}<br/>- {% if account.piggyBanks|length > 0 %}- {{ Lang.choice('form.also_delete_piggyBanks', account.piggyBanks|length, {count: account.piggyBanks|length}) }}- {% endif %}- </p>- {% endif %}- {% if account.transactions.count() > 0 and account.accountType.type == 'Asset account' %}- <p class="text-success">- {{ trans_choice('firefly.save_transactions_by_moving', account.transactions|length ) }}- </p>-- <p>- {{ Html::select('move_account_before_delete', accountList, null).class('form-control') }}- </p>- {% else %}- <input type="hidden" name="move_account_before_delete" value="0"/>- {% endif %}-- </div>- <div class="box-footer">- <input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}"- class="btn pull-right btn-danger"/>- <a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>- </div>- </div>- </div>- </div>-- </form>-@endsectiondiff --git a/resources/views/accounts/edit.blade.php b/resources/views/accounts/edit.blade.phpnew file mode 100644index 0000000000..b3c3d4ac95--- /dev/null+++ b/resources/views/accounts/edit.blade.php@@ -0,0 +1,123 @@+@extends('layout.v3.session')+@section('content')+ <!-- set location data high up -->+ <script type="text/javascript" nonce="{{ $JS_NONCE }}">+ var locations = {{ json_encode($locations) }};+ var mapboxToken = "{{ config('firefly.mapbox_api_key') }}";+ </script>++ <form method="post" action="{{ route('accounts.update',$account->id) }}" class="form-horizontal"+ accept-charset="UTF-8"+ enctype="multipart/form-data">+ <input type="hidden" name="_token" value="{{ csrf_token() }}"/>++ <input type="hidden" name="id" value="{{ $account->id }}"/>+ <input type="hidden" name="$objectType" value="{{ $objectType }}"/>++ <div class="row">+ <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">+ <div class="card">+ <div class="card-header">+ <h3 class="card-title">{{ __('firefly.mandatoryFields') }}</h3>+ </div>+ <div class="card-body">+ {!! ExpandedForm::text('name', $account->name) !!}+ @if($canEditCurrency && (in_array($account->accountType->type, ['Default account','Asset account'],true) || 'liabilities' === $objectType))+ {!! CurrencyForm::currencyList('currency_id', null, ['helpText' => __('firefly.account_default_currency')]) !!}+ @endif+ @if(!$canEditCurrency && (in_array($account->accountType->type, ['Default account','Asset account'],true) || 'liabilities' === $objectType))+ <input type="hidden" name="currency_id" value="{{ $currency->id }}"/>+ {!! ExpandedForm::staticText('currency_id', trans('firefly.account_locked_currency', ['name' => $currency->name])) !!}+ @endif++ @if('liabilities' === $objectType)+ {!! ExpandedForm::select('liability_type_id', $liabilityTypes) !!}+ {!! ExpandedForm::amountNoCurrency('opening_balance', null, ['label' => __('firefly.debt_start_amount')]) !!}+ {!! ExpandedForm::select('liability_direction', $liabilityDirections) !!}+ {!! ExpandedForm::date('opening_balance_date', $preFilled['opening_balance_date'], ['label' => __('firefly.debt_start_date')]) !!}+ {!! ExpandedForm::percentage('interest') !!}+ {!! ExpandedForm::select('interest_period', $interestPeriods) !!}+ @endif+ </div>+ </div>++ </div>+ <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">+ <div class="card">+ <div class="card-header">+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3>+ </div>+ <div class="card-body">+ {!! ExpandedForm::text('iban', $account->iban) !!}+ {!! ExpandedForm::text('BIC', null, ['maxlength' => 11]) !!}+ @if('ccAsset' === $preFilled['account_role'])+ {!! ExpandedForm::text('account_number', null , ['label' => trans('form.creditCardNumber')]) !!}+ @else+ {!! ExpandedForm::text('account_number') !!}+ @endif++ @if(in_array($account->accountType->type, ['Default account','Asset account'],true))+ {!! ExpandedForm::amountNoCurrency('opening_balance',null) !!}+ {!! ExpandedForm::date('opening_balance_date', $preFilled['opening_balance_date']) !!}+ {!! ExpandedForm::select('account_role', $roles) !!}+ {!! ExpandedForm::amountNoCurrency('virtual_balance',null) !!}+ @endif+ @if($showNetWorth)+ {!! ExpandedForm::checkbox('include_net_worth', 1) !!}+ @endif+ {!! ExpandedForm::textarea('notes', $preFilled['notes'],['helpText' => trans('firefly.field_supports_markdown')]) !!}+ {!! ExpandedForm::checkbox('active', 1) !!}+ {!! ExpandedForm::file('attachments[]', ['multiple' => 'multiple','helpText' => trans('firefly.upload_max_file_size', ['size' => $uploadSize ?? $filesize])]) !!}++ </div>+ </div>++ @if('ccAsset' === $preFilled['account_role'])+ <div class="card">+ <div class="card-header">+ <h3 class="card-title">{{ __('firefly.credit_card_options') }}</h3>+ </div>+ <div class="card-body">+ {!! ExpandedForm::select('cc_type',Config::get('firefly.ccTypes')) !!}+ {!! ExpandedForm::date('cc_monthly_payment_date',null,['helpText' => trans('firefly.cc_monthly_payment_date_help')]) !!}+ </div>+ </div>+ @endif+ </div>+ </div>+ <div class="row">+ <div class="col-lg-6 col-md-6 col-sm-12">+ <div class="card">+ <div class="card-header">+ <h3 class="card-title">{{ __('firefly.options') }}</h3>+ </div>+ <div class="card-body">+ {!! ExpandedForm::optionsList('update','account') !!}+ </div>+ <div class="card-footer text-right">+ <button type="submit" class="btn btn-success">+ {{ __('firefly.update_' . $objectType . '_account') }}+ </button>+ </div>+ </div>+ </div>+ </div>+ </form>+@endsection+@section('scripts')+ <script type="text/javascript" nonce="{{ $JS_NONCE }}">+ var iAmOwed = '{{ __('firefly.i_am_owed_amount') }}';+ var iOwe = '{{ __('firefly.i_owe_amount') }}';+ </script>+ <script type="text/javascript" src="v1/js/lib/modernizr-custom.js?v={{ $FF_BUILD_TIME }}"+ nonce="{{ $JS_NONCE }}"></script>+ <script type="text/javascript" src="v1/js/lib/jquery-ui.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+ <script type="text/javascript" src="v1/js/ff/accounts/edit.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>+@endsection++@section('styles')+ <link href="v1/css/jquery-ui/jquery-ui.structure.min.css?v={{ $FF_BUILD_TIME }}" type="text/css" rel="stylesheet"+ media="all" nonce="{{ $JS_NONCE }}">+ <link href="v1/css/jquery-ui/jquery-ui.theme.min.css?v={{ $FF_BUILD_TIME }}" type="text/css" rel="stylesheet"+ media="all" nonce="{{ $JS_NONCE }}">+@endsectiondiff --git a/resources/views/accounts/edit.twig b/resources/views/accounts/edit.twigdeleted file mode 100644index 01fdea32cc..0000000000--- a/resources/views/accounts/edit.twig+++ /dev/null@@ -1,131 +0,0 @@-@extends('layout.v3.session')-@section('content')- <!-- set location data high up -->- <script type="text/javascript" nonce="{{ $JS_NONCE }}">- var locations = {{ locations|json_encode|raw }};- var mapboxToken = "{{ config('firefly.mapbox_api_key') }}";- </script>-- <form method="post" action="{{ route('accounts.update',account.id) }}" class="form-horizontal"- accept-charset="UTF-8"- enctype="multipart/form-data">- <input type="hidden" name="_token" value="{{ csrf_token() }}"/>-- <input type="hidden" name="id" value="{{ account.id }}"/>- <input type="hidden" name="objectType" value="{{ objectType }}"/>-- <div class="row">- <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="card">- <div class="card-header">- <h3 class="card-title">{{ __('firefly.mandatoryFields') }}</h3>- </div>- <div class="card-body">- {{ ExpandedForm::text('name', account.name) }}- {% if canEditCurrency and (account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities') %}- {{ CurrencyForm::currencyList('currency_id', null, {helpText:'account_default_currency'|_}) }}- {% endif %}- {% if not canEditCurrency and (account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities') %}- <input type="hidden" name="currency_id" value="{{ currency.id }}"/>- {{ ExpandedForm.staticText('currency_id', trans('firefly.account_locked_currency', {name: currency.name})) }}- {% endif %}-- {% if objectType == 'liabilities' %}- {{ ExpandedForm::select('liability_type_id', liabilityTypes) }}- {{ ExpandedForm::amountNoCurrency('opening_balance', null, {label:'debt_start_amount'|_}) }}- {{ ExpandedForm::select('liability_direction', liabilityDirections) }}- {{ ExpandedForm::date('opening_balance_date', preFilled.opening_balance_date, {label:'debt_start_date'|_}) }}- {{ ExpandedForm::percentage('interest') }}- {{ ExpandedForm::select('interest_period', interestPeriods) }}- {% endif %}- </div>- </div>-- </div>- <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">- <div class="card">- <div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>- </div>- <div class="card-body">- {{ ExpandedForm::text('iban', account.iban) }}- {{ ExpandedForm::text('BIC', null, {maxlength: 11}) }}- {% if preFilled.account_role == 'ccAsset' %}- {{ ExpandedForm::text('account_number', null , {label:trans('form.creditCardNumber')}) }}- {% else %}- {{ ExpandedForm::text('account_number') }}- {% endif %}-- {% if account.accounttype.type == 'Default account' or account.accounttype.type == 'Asset account' %}-- {# get opening balance entry for this thing! #}- {{ ExpandedForm::amountNoCurrency('opening_balance',null) }}- {{ ExpandedForm::date('opening_balance_date', preFilled.opening_balance_date) }}- {{ ExpandedForm::select('account_role', roles) }}- {{ ExpandedForm::amountNoCurrency('virtual_balance',null) }}-- {% endif %}- {% if showNetWorth %}- {{ ExpandedForm::checkbox('include_net_worth', 1) }}- {% endif %}- {{ ExpandedForm::textarea('notes',preFilled.notes,{helpText: trans('firefly.field_supports_markdown')}) }}- {# only correct way to do active checkbox #}- {{ ExpandedForm::checkbox('active', 1) }}- {# only correct way to do active checkbox #}-- {{ ExpandedForm::file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}-- </div>- </div>-- {# panel for credit card options #}- {% if preFilled.account_role == 'ccAsset' %}- <div class="card">- <div class="card-header">- <h3 class="card-title">{{ 'credit_card_options'|_ }}</h3>- </div>- <div class="card-body">- {{ ExpandedForm::select('cc_type',Config.get('firefly.ccTypes')) }}- {{ ExpandedForm::date('cc_monthly_payment_date',null,{'helpText' : trans('firefly.cc_monthly_payment_date_help')}) }}- </div>- </div>- {% endif %}- </div>- </div>- <div class="row">- <div class="col-lg-6 col-md-6 col-sm-12">- {# panel for options #}- <div class="card">- <div class="card-header">- <h3 class="card-title">{{ __('firefly.options') }}</h3>- </div>- <div class="card-body">- {{ ExpandedForm::optionsList('update','account') }}- </div>- <div class="box-footer">- <button type="submit" class="btn pull-right btn-success">- {{ ('update_' ~ objectType ~ '_account')|_ }}- </button>- </div>- </div>- </div>- </div>- </form>-@endsection-@section('scripts')- <script type="text/javascript" nonce="{{ $JS_NONCE }}">- var iAmOwed = '{{ 'i_am_owed_amount'|_|escape('js') }}';- var iOwe = '{{ 'i_owe_amount'|_|escape('js') }}';- </script>- <script type="text/javascript" src="v1/js/lib/modernizr-custom.js?v={{ $FF_BUILD_TIME }}"- nonce="{{ $JS_NONCE }}"></script>- <script type="text/javascript" src="v1/js/lib/jquery-ui.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>- <script type="text/javascript" src="v1/js/ff/accounts/edit.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>-@endsection--@section('styles')- <link href="v1/css/jquery-ui/jquery-ui.structure.min.css?v={{ $FF_BUILD_TIME }}" type="text/css" rel="stylesheet"- media="all" nonce="{{ $JS_NONCE }}">- <link href="v1/css/jquery-ui/jquery-ui.theme.min.css?v={{ $FF_BUILD_TIME }}" type="text/css" rel="stylesheet"- media="all" nonce="{{ $JS_NONCE }}">-@endsectiondiff --git a/resources/views/accounts/reconcile/show.twig b/resources/views/accounts/reconcile/show.twigindex a6f6663dbb..654672db35 100644--- a/resources/views/accounts/reconcile/show.twig+++ b/resources/views/accounts/reconcile/show.twig@@ -49,7 +49,7 @@</tbody></table></div>- <div class="box-footer">+ <div class="card-footer"><div class="pull-right"><div class="btn-group"><a class="btn btn-outline-secondary" href="{{ route('transactions.edit',journal.id) }}"><span class="bi bi-pencil"></span> {{ __('firefly.edit') }}</a>diff --git a/resources/views/attachments/delete.twig b/resources/views/attachments/delete.twigindex 13d3af8e3f..7e411163f2 100644--- a/resources/views/attachments/delete.twig+++ b/resources/views/attachments/delete.twig@@ -23,7 +23,7 @@{{ trans('form.attachment_areYouSure', {'name': attachment.filename}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/attachments/edit.twig b/resources/views/attachments/edit.twigindex 882ade5778..1ad459b395 100644--- a/resources/views/attachments/edit.twig+++ b/resources/views/attachments/edit.twig@@ -19,9 +19,9 @@<h3 class="card-title">{{ __('firefly.mandatoryFields') }}</h3></div><div class="card-body">- {{ ExpandedForm.staticText('filename',attachment.filename|escape) }}- {{ ExpandedForm.staticText('mime',attachment.mime|escape) }}- {{ ExpandedForm.staticText('size',attachment.size|filesize) }}+ {{ ExpandedForm::staticText('filename',attachment.filename|escape) }}+ {{ ExpandedForm::staticText('mime',attachment.mime|escape) }}+ {{ ExpandedForm::staticText('size',attachment.size|filesize) }}</div></div>@@ -29,7 +29,7 @@<div class="col-lg-6 col-md-6 col-sm-12"><div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::text('title', attachment.title) }}@@ -49,7 +49,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','attachment') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_attachment'|_ }}</button>diff --git a/resources/views/bills/create.twig b/resources/views/bills/create.twigindex a40d428f4e..d34f5874fd 100644--- a/resources/views/bills/create.twig+++ b/resources/views/bills/create.twig@@ -30,7 +30,7 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"><div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('bill_end_date',null, {'helpText': trans('firefly.bill_end_date_help')}) }}@@ -54,7 +54,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','bill') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_new_bill'|_ }}</button>diff --git a/resources/views/bills/delete.twig b/resources/views/bills/delete.twigindex 841a4aa3e7..2d82ea7a14 100644--- a/resources/views/bills/delete.twig+++ b/resources/views/bills/delete.twig@@ -29,7 +29,7 @@{% endif %}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/bills/edit.twig b/resources/views/bills/edit.twigindex f5b5cccebc..6e3844b52f 100644--- a/resources/views/bills/edit.twig+++ b/resources/views/bills/edit.twig@@ -37,7 +37,7 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"><div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('bill_end_date',null, {'helpText': trans('firefly.bill_end_date_help')}) }}@@ -62,7 +62,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','bill') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_bill'|_ }}</button>diff --git a/resources/views/bills/show.twig b/resources/views/bills/show.twigindex d65392362e..af7cf08a6a 100644--- a/resources/views/bills/show.twig+++ b/resources/views/bills/show.twig@@ -91,7 +91,7 @@</tr></table></div>- <div class="box-footer">+ <div class="card-footer"><div class="btn-group"><a class="btn btn-outline-secondary" href="{{ route('subscriptions.edit', [object.data.id]) }}">{{ __('firefly.edit') }}</a><a class="btn btn-danger" href="{{ route('subscriptions.delete', [object.data.id]) }}">{{ __('firefly.delete') }}</a>@@ -115,7 +115,7 @@</ul>{% endif %}</div>- <div class="box-footer">+ <div class="card-footer"><form action="{{ route('subscriptions.rescan',object.data.id) }}" method="post"><input type="hidden" name="_token" value="{{ csrf_token() }}"/><p>diff --git a/resources/views/budgets/create.twig b/resources/views/budgets/create.twigindex 3d3fea4922..003cad4d9e 100644--- a/resources/views/budgets/create.twig+++ b/resources/views/budgets/create.twig@@ -25,7 +25,7 @@{# panel for auto-budget #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::select('auto_budget_type', autoBudgetTypes,null, {helpText: trans('firefly.auto_budget_help')}) }}@@ -47,7 +47,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','budget') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_new_budget'|_ }}</button></div></div>diff --git a/resources/views/budgets/delete.twig b/resources/views/budgets/delete.twigindex b3078c6202..ddba252b55 100644--- a/resources/views/budgets/delete.twig+++ b/resources/views/budgets/delete.twig@@ -31,7 +31,7 @@</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/budgets/edit.twig b/resources/views/budgets/edit.twigindex 2fb225db89..ec3db6a3d9 100644--- a/resources/views/budgets/edit.twig+++ b/resources/views/budgets/edit.twig@@ -27,7 +27,7 @@{# panel for auto-budget #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::select('auto_budget_type', autoBudgetTypes, autoBudget.auto_budget_type) }}@@ -50,7 +50,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','budget') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_budget'|_ }}</button></div></div>diff --git a/resources/views/budgets/show.twig b/resources/views/budgets/show.twigindex ed3e17204f..2b4a5d7eaa 100644--- a/resources/views/budgets/show.twig+++ b/resources/views/budgets/show.twig@@ -30,7 +30,7 @@<canvas id="budgetOverview" class="wide-chart" height="400" width="100%"></canvas></div>{% if budgetLimit %}- <div class="box-footer">+ <div class="card-footer"><p class="text-muted">{{ trans('firefly.chart_budget_in_period_only_currency', {currency: budgetLimit.transactionCurrency.name}) }}</p>@@ -65,7 +65,7 @@</div></div>{% if budgetLimit %}- <div class="box-footer">+ <div class="card-footer"><p class="text-muted">{{ trans('firefly.chart_budget_in_period_only_currency', {currency: budgetLimit.transactionCurrency.name}) }}</p>@@ -84,7 +84,7 @@</div></div>{% if budgetLimit %}- <div class="box-footer">+ <div class="card-footer"><p class="text-muted">{{ trans('firefly.chart_budget_in_period_only_currency', {currency: budgetLimit.transactionCurrency.name}) }}</p>@@ -103,7 +103,7 @@</div></div>{% if budgetLimit %}- <div class="box-footer">+ <div class="card-footer"><p class="text-muted">{{ trans('firefly.chart_budget_in_period_only_currency', {currency: budgetLimit.transactionCurrency.name}) }}</p>diff --git a/resources/views/categories/create.twig b/resources/views/categories/create.twigindex 2ca5a75805..bc757e134f 100644--- a/resources/views/categories/create.twig+++ b/resources/views/categories/create.twig@@ -23,7 +23,7 @@{# panel for optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')} ) }}@@ -42,7 +42,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','category') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_category'|_ }}</button>diff --git a/resources/views/categories/delete.twig b/resources/views/categories/delete.twigindex 4523be3c5d..261b6a7621 100644--- a/resources/views/categories/delete.twig+++ b/resources/views/categories/delete.twig@@ -29,7 +29,7 @@{% endif %}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/categories/edit.twig b/resources/views/categories/edit.twigindex f45164bcef..b6a49b6ce3 100644--- a/resources/views/categories/edit.twig+++ b/resources/views/categories/edit.twig@@ -27,7 +27,7 @@{# panel for optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('notes', preFilled.notes, {helpText: trans('firefly.field_supports_markdown')} ) }}@@ -48,7 +48,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','category') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_category'|_ }}</button>diff --git a/resources/views/currencies/create.twig b/resources/views/currencies/create.twigindex 279fd3e46a..2fb742882c 100644--- a/resources/views/currencies/create.twig+++ b/resources/views/currencies/create.twig@@ -34,7 +34,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','currency') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_currency'|_ }}</button>diff --git a/resources/views/currencies/delete.twig b/resources/views/currencies/delete.twigindex 8bcabe2ada..0c99542fb4 100644--- a/resources/views/currencies/delete.twig+++ b/resources/views/currencies/delete.twig@@ -23,7 +23,7 @@{{ trans('form.currency_areYouSure', {'name': currency.name}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/currencies/edit.twig b/resources/views/currencies/edit.twigindex 987e971341..bed3569912 100644--- a/resources/views/currencies/edit.twig+++ b/resources/views/currencies/edit.twig@@ -38,7 +38,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','currency') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'update_currency'|_ }}</button>diff --git a/resources/views/form/options.blade.php b/resources/views/form/options.blade.phpindex 8920c0dd25..acf7174901 100644--- a/resources/views/form/options.blade.php+++ b/resources/views/form/options.blade.php@@ -15,9 +15,7 @@<div class="col-sm-9 offset-sm-3"><div class="form-check has-validation">{{ Html::checkbox('create_another')->class('form-check-input')->id($name . '_return_to_edit') }}-- <label for="{{ $name }}_return_to_edit" class="col-sm-4 control-label">- {{ trans('form.returnHere') }}+ <label class="form-check-label" for="{{ $name }}">{{ trans('form.returnHereUpdateExplanation') }}</label></div>diff --git a/resources/views/json/piggy-banks-old.twig b/resources/views/json/piggy-banks-old.twigindex 5668afd30b..77cbe162a7 100644--- a/resources/views/json/piggy-banks-old.twig+++ b/resources/views/json/piggy-banks-old.twig@@ -29,7 +29,7 @@</div>{% endfor %}</div>- <div class="box-footer">+ <div class="card-footer"><a href="{{ route('piggy-banks.index') }}" class="btn btn-outline-secondary button-sm"><spanclass="bi bi-download"></span> {{ 'go_to_piggies'|_ }}</a></div>diff --git a/resources/views/new-user/index.twig b/resources/views/new-user/index.twigindex e915fbbfca..e4b5e03f17 100644--- a/resources/views/new-user/index.twig+++ b/resources/views/new-user/index.twig@@ -61,7 +61,7 @@</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ 'submit'|_ }}" class="btn btn-success pull-right"/></div></div>diff --git a/resources/views/object-groups/delete.twig b/resources/views/object-groups/delete.twigindex 2d503c94c1..9f3b7e06dc 100644--- a/resources/views/object-groups/delete.twig+++ b/resources/views/object-groups/delete.twig@@ -30,7 +30,7 @@{% endif %}</div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/object-groups/edit.twig b/resources/views/object-groups/edit.twigindex bb26e98a72..1dd453e53d 100644--- a/resources/views/object-groups/edit.twig+++ b/resources/views/object-groups/edit.twig@@ -35,7 +35,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','object group') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'update_object_group'|_ }}</button>diff --git a/resources/views/piggy-banks/create.twig b/resources/views/piggy-banks/create.twigindex 056c8d9019..c591558281 100644--- a/resources/views/piggy-banks/create.twig+++ b/resources/views/piggy-banks/create.twig@@ -26,7 +26,7 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"><div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('target_date') }}@@ -47,7 +47,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','piggy bank') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'store_piggy_bank'|_ }}</button>diff --git a/resources/views/piggy-banks/delete.twig b/resources/views/piggy-banks/delete.twigindex 08b2b724eb..852034cee8 100644--- a/resources/views/piggy-banks/delete.twig+++ b/resources/views/piggy-banks/delete.twig@@ -23,7 +23,7 @@{{ trans('form.piggyBank_areYouSure', {'name': piggyBank.name}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/piggy-banks/edit.twig b/resources/views/piggy-banks/edit.twigindex a6e5dae5aa..cb4fc6e645 100644--- a/resources/views/piggy-banks/edit.twig+++ b/resources/views/piggy-banks/edit.twig@@ -33,7 +33,7 @@<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"><div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('start_date') }}@@ -55,7 +55,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','piggy bank') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'update_piggy_button'|_ }}</button>diff --git a/resources/views/profile/change-email.twig b/resources/views/profile/change-email.twigindex bd62a57bdf..d3c19249ec 100644--- a/resources/views/profile/change-email.twig+++ b/resources/views/profile/change-email.twig@@ -34,10 +34,10 @@name="email"></div></div>- {{ ExpandedForm.staticText('verification',trans('firefly.email_verification')) }}+ {{ ExpandedForm::staticText('verification',trans('firefly.email_verification')) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'change_your_email'|_ }}</button></div></div>diff --git a/resources/views/profile/change-password.twig b/resources/views/profile/change-password.twigindex ae6cdf32f9..56288bdb47 100644--- a/resources/views/profile/change-password.twig+++ b/resources/views/profile/change-password.twig@@ -58,7 +58,7 @@</p></div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'change_your_password'|_ }}</button></div></div>diff --git a/resources/views/profile/delete-account.twig b/resources/views/profile/delete-account.twigindex e253b8b57a..40d8cab400 100644--- a/resources/views/profile/delete-account.twig+++ b/resources/views/profile/delete-account.twig@@ -42,7 +42,7 @@</div></div></div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-danger pull-right delete-profile">{{ 'delete_account_button'|_ }}</button>diff --git a/resources/views/profile/logout-other-sessions.twig b/resources/views/profile/logout-other-sessions.twigindex b718517f9a..e854d590ee 100644--- a/resources/views/profile/logout-other-sessions.twig+++ b/resources/views/profile/logout-other-sessions.twig@@ -24,7 +24,7 @@</div></div></div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'logout_other_sessions'|_ }}</button></div></div>diff --git a/resources/views/profile/mfa/backup-codes-intro.twig b/resources/views/profile/mfa/backup-codes-intro.twigindex 9bf0fdc07c..c787a69678 100644--- a/resources/views/profile/mfa/backup-codes-intro.twig+++ b/resources/views/profile/mfa/backup-codes-intro.twig@@ -34,7 +34,7 @@{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm::text('code', code) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success">{{ 'pref_save_settings'|_ }}</button></div></div>diff --git a/resources/views/profile/mfa/backup-codes-post.twig b/resources/views/profile/mfa/backup-codes-post.twigindex 7c58a9361c..2278dbbd41 100644--- a/resources/views/profile/mfa/backup-codes-post.twig+++ b/resources/views/profile/mfa/backup-codes-post.twig@@ -19,7 +19,7 @@<textarea rows="10" class="form-control" readonly>{{ codes }}</textarea></div></div>- <div class="box-footer">+ <div class="card-footer"><a class="btn btn-success" href="{{ route('profile.mfa.index') }}">{{ '2fa_i_have_them'|_ }}</a></div></div>diff --git a/resources/views/profile/mfa/disable-mfa.twig b/resources/views/profile/mfa/disable-mfa.twigindex 3700a93720..aca71fac68 100644--- a/resources/views/profile/mfa/disable-mfa.twig+++ b/resources/views/profile/mfa/disable-mfa.twig@@ -28,7 +28,7 @@{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm::text('code', code) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-danger">{{ 'pref_disable_mfa'|_ }}</button></div></div>diff --git a/resources/views/profile/mfa/enable-mfa.twig b/resources/views/profile/mfa/enable-mfa.twigindex 9b3e5c37e0..59f40a6688 100644--- a/resources/views/profile/mfa/enable-mfa.twig+++ b/resources/views/profile/mfa/enable-mfa.twig@@ -39,7 +39,7 @@{{ ExpandedForm.password('password', {helpText: 'current_password_confirm_mfa'|_}) }}{{ ExpandedForm::text('code', code) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success btn-lg">{{ 'pref_save_settings'|_ }}</button></div></div>diff --git a/resources/views/profile/new-backup-codes.twig b/resources/views/profile/new-backup-codes.twigindex 324bbc20a3..f0cf416eab 100644--- a/resources/views/profile/new-backup-codes.twig+++ b/resources/views/profile/new-backup-codes.twig@@ -19,7 +19,7 @@<pre>{{ codes }}</pre></div></div>- <div class="box-footer">+ <div class="card-footer"><a class="btn btn-success" href="{{ route('profile.index') }}">{{ '2fa_i_have_them'|_ }}</a></div></div>diff --git a/resources/views/recurring/create.twig b/resources/views/recurring/create.twigindex ce64c164e2..1c5fe19be4 100644--- a/resources/views/recurring/create.twig+++ b/resources/views/recurring/create.twig@@ -160,7 +160,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','recurrence') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ ('store_new_recurrence')|_ }}</button>diff --git a/resources/views/recurring/delete.twig b/resources/views/recurring/delete.twigindex 59ddd30c48..ca7ec14dff 100644--- a/resources/views/recurring/delete.twig+++ b/resources/views/recurring/delete.twig@@ -29,7 +29,7 @@{% endif %}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/recurring/edit.twig b/resources/views/recurring/edit.twigindex 5cf5e4c765..ff51646225 100644--- a/resources/views/recurring/edit.twig+++ b/resources/views/recurring/edit.twig@@ -159,7 +159,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','recurrence') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ ('update_recurrence')|_ }}</button>diff --git a/resources/views/recurring/old-index.twig b/resources/views/recurring/old-index.twigindex 2d458c4131..aee570c1e8 100644--- a/resources/views/recurring/old-index.twig+++ b/resources/views/recurring/old-index.twig@@ -145,7 +145,7 @@{{ paginator.links('pagination.bootstrap-4')|raw }}</div></div>- <div class="box-footer">+ <div class="card-footer"><a href="{{ route('recurring.create') }}" class="btn btn-success"><span class="bi bi-plus-circle"></span> {{ ('make_new_recurring')|_ }}</a></div></div>diff --git a/resources/views/recurring/show.twig b/resources/views/recurring/show.twigindex f86a5e5a86..1e1e42b68e 100644--- a/resources/views/recurring/show.twig+++ b/resources/views/recurring/show.twig@@ -49,7 +49,7 @@<h4>{{ 'attachments'|_ }}</h4>{% include 'list.attachments' with {attachments: array.attachments} %}</div>- <div class="box-footer">+ <div class="card-footer"><div class="btn-group"><a href="{{ route('recurring.edit', [array.id]) }}" class="btn btn-sm btn-outline-secondary"><spanclass="bi bi-pencil"></span> {{ __('firefly.edit') }}</a>@@ -107,7 +107,7 @@</table>{% endfor %}</div>- <div class="box-footer">+ <div class="card-footer"><small><em>{{ 'warning_duplicates_repetitions'|_ }}</em></small>diff --git a/resources/views/reports/default/multi-year.twig b/resources/views/reports/default/multi-year.twigindex 975d129774..b008145570 100644--- a/resources/views/reports/default/multi-year.twig+++ b/resources/views/reports/default/multi-year.twig@@ -99,7 +99,7 @@<div class="card-body"><canvas id="net-worth" class="wide-chart" height="400" width="100%"></canvas></div>- <div class="box-footer">+ <div class="card-footer"><small>{{ 'net_filtered_prefs'|_ }}</small>diff --git a/resources/views/reports/default/year.twig b/resources/views/reports/default/year.twigindex ed06a91bcd..e087ea7299 100644--- a/resources/views/reports/default/year.twig+++ b/resources/views/reports/default/year.twig@@ -98,7 +98,7 @@<div class="card-body"><canvas id="net-worth" class="wide-chart" height="400" width="100%"></canvas></div>- <div class="box-footer">+ <div class="card-footer"><small>{{ 'net_filtered_prefs'|_ }}</small>diff --git a/resources/views/reports/double/report.twig b/resources/views/reports/double/report.twigindex 1538b38d12..b4c5be2992 100644--- a/resources/views/reports/double/report.twig+++ b/resources/views/reports/double/report.twig@@ -90,7 +90,7 @@<canvas id="tag-out-pie-chart" class="medium-chart" height="250"></canvas></div></div>- <div class="box-footer">+ <div class="card-footer"><p class="text-info"><em>{{ 'double_report_expenses_charted_once'|_ }}</em></p>@@ -107,7 +107,7 @@<canvas id="tag-in-pie-chart" class="medium-chart" height="250"></canvas></div></div>- <div class="box-footer">+ <div class="card-footer"><p class="text-info"><em>{{ 'double_report_expenses_charted_once'|_ }}</em></p>diff --git a/resources/views/reports/tag/month.twig b/resources/views/reports/tag/month.twigindex a481f53ebf..db2152f552 100644--- a/resources/views/reports/tag/month.twig+++ b/resources/views/reports/tag/month.twig@@ -184,7 +184,7 @@data-url="{{ route('chart.tag.main', [accountIds, tag.id, start.format('Ymd'), end.format('Ymd')]) }}"id="in-out-chart-{{ tag.id }}" class="wide-chart" height="400" width="100%"></canvas></div>- <div class="box-footer">+ <div class="card-footer"><p class="text-info"><em>{{ 'tag_report_chart_single_tag'|_ }}</em></p></div></div>diff --git a/resources/views/rules/rule-group/create.twig b/resources/views/rules/rule-group/create.twigindex 01e6045b0b..e5f7ed382b 100644--- a/resources/views/rules/rule-group/create.twig+++ b/resources/views/rules/rule-group/create.twig@@ -23,7 +23,7 @@{# optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('description') }}@@ -41,7 +41,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','rule-group') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_new_rule_group'|_ }}</button></div></div>diff --git a/resources/views/rules/rule-group/delete.twig b/resources/views/rules/rule-group/delete.twigindex fa9e515e87..3764865c00 100644--- a/resources/views/rules/rule-group/delete.twig+++ b/resources/views/rules/rule-group/delete.twig@@ -41,7 +41,7 @@{% endif %}</div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/rules/rule-group/edit.twig b/resources/views/rules/rule-group/edit.twigindex aba8f01b31..7f66c0e8df 100644--- a/resources/views/rules/rule-group/edit.twig+++ b/resources/views/rules/rule-group/edit.twig@@ -31,7 +31,7 @@{# optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('description', ruleGroup.description) }}@@ -49,7 +49,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','rule-group') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_rule_group'|_ }}</button></div></div>diff --git a/resources/views/rules/rule-group/select-transactions.twig b/resources/views/rules/rule-group/select-transactions.twigindex 99abb256f4..b5e5bad98d 100644--- a/resources/views/rules/rule-group/select-transactions.twig+++ b/resources/views/rules/rule-group/select-transactions.twig@@ -31,7 +31,7 @@</div></div></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ 'execute'|_ }}" id="do-execute-button"class="btn btn-success pull-right"/></div>diff --git a/resources/views/rules/rule/create.twig b/resources/views/rules/rule/create.twigindex 7d3ea86f46..1974edaf83 100644--- a/resources/views/rules/rule/create.twig+++ b/resources/views/rules/rule/create.twig@@ -49,7 +49,7 @@{# optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('description', null, {helpText: trans('firefly.field_supports_markdown')}) }}@@ -135,7 +135,7 @@{{ ExpandedForm::checkbox('run_after_form',1,null, {helpText: trans('firefly.rule_run_after_creation')}) }}{{ ExpandedForm::optionsList('create','rule') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_new_rule'|_ }}</button></div></div>diff --git a/resources/views/rules/rule/delete.twig b/resources/views/rules/rule/delete.twigindex 9b2fca8b2f..0a64e8ad29 100644--- a/resources/views/rules/rule/delete.twig+++ b/resources/views/rules/rule/delete.twig@@ -23,7 +23,7 @@{{ trans('form.rule_areYouSure', {'title': rule.title}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/rules/rule/edit.twig b/resources/views/rules/rule/edit.twigindex db3ede34a7..ec3912b025 100644--- a/resources/views/rules/rule/edit.twig+++ b/resources/views/rules/rule/edit.twig@@ -34,7 +34,7 @@{# optional fields #}<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::textarea('description', rule.description, {helpText: trans('firefly.field_supports_markdown')}) }}@@ -121,7 +121,7 @@{{ ExpandedForm::checkbox('run_after_form',1,null, {helpText: trans('firefly.rule_run_after_edit')}) }}{{ ExpandedForm::optionsList('update','rule') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_rule'|_ }}</button></div></div>diff --git a/resources/views/rules/rule/select-transactions.twig b/resources/views/rules/rule/select-transactions.twigindex a5ba2092ff..ce7fc9ede2 100644--- a/resources/views/rules/rule/select-transactions.twig+++ b/resources/views/rules/rule/select-transactions.twig@@ -30,7 +30,7 @@</div></div></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ 'execute'|_ }}" id="do-execute-button" class="btn btn-success pull-right"/></div></div>diff --git a/resources/views/settings/link/create.twig b/resources/views/settings/link/create.twigindex 46ce732b5f..c785f558b2 100644--- a/resources/views/settings/link/create.twig+++ b/resources/views/settings/link/create.twig@@ -32,7 +32,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','link_type') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'store_new_link_type'|_ }}</button></div></div>diff --git a/resources/views/settings/link/delete.twig b/resources/views/settings/link/delete.twigindex dc1316f098..8cfff61045 100644--- a/resources/views/settings/link/delete.twig+++ b/resources/views/settings/link/delete.twig@@ -42,7 +42,7 @@{% endif %}</div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}"class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>diff --git a/resources/views/settings/link/edit.twig b/resources/views/settings/link/edit.twigindex 6ab3c7cc09..e011fc95d8 100644--- a/resources/views/settings/link/edit.twig+++ b/resources/views/settings/link/edit.twig@@ -36,7 +36,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','link_type') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ ('update_link_type')|_ }}</button>diff --git a/resources/views/settings/link/index.twig b/resources/views/settings/link/index.twigindex 15f7c1a392..a33ea68cd5 100644--- a/resources/views/settings/link/index.twig+++ b/resources/views/settings/link/index.twig@@ -51,7 +51,7 @@</tbody></table></div>- <div class="box-footer">+ <div class="card-footer"><a href="{{ route('settings.links.create') }}" class="btn btn-success">{{ 'create_new_link_type'|_ }}</a></div></div>diff --git a/resources/views/settings/notifications/index.twig b/resources/views/settings/notifications/index.twigindex 75b5805fe2..495c795e30 100644--- a/resources/views/settings/notifications/index.twig+++ b/resources/views/settings/notifications/index.twig@@ -35,7 +35,7 @@{{ ExpandedForm::text('ntfy_user', ntfyUser, {}) }}{{ ExpandedForm.passwordWithValue('ntfy_pass', ntfyPass, {}) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success"><span class="bi bi-check-circle"></span> {{ ('save_notification_settings')|_ }}</button>@@ -68,7 +68,7 @@{% endfor %}</ul></div>- <div class="box-footer">+ <div class="card-footer"><div class="btn-group">{% for name,info in channels %}{% if true == info.enabled and true == forcedAvailability[name] %}diff --git a/resources/views/settings/users/delete.twig b/resources/views/settings/users/delete.twigindex 57c741c12a..a0a17c3b27 100644--- a/resources/views/settings/users/delete.twig+++ b/resources/views/settings/users/delete.twig@@ -24,7 +24,7 @@{{ trans('form.user_areYouSure', {'email': user.email}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit"value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right delete-user"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>diff --git a/resources/views/settings/users/edit.twig b/resources/views/settings/users/edit.twigindex 30c138c9f4..c740e8e305 100644--- a/resources/views/settings/users/edit.twig+++ b/resources/views/settings/users/edit.twig@@ -47,7 +47,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','account') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ ('update_user')|_ }}</button>diff --git a/resources/views/settings/users/index.twig b/resources/views/settings/users/index.twigindex d710352f5c..701d34d2da 100644--- a/resources/views/settings/users/index.twig+++ b/resources/views/settings/users/index.twig@@ -19,7 +19,7 @@</p>{{ ExpandedForm::text('invited_user',null, {'type': 'email', 'label' : 'invited_user_mail'|_}) }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ ('invite_user')|_ }}</button>diff --git a/resources/views/tags/create.twig b/resources/views/tags/create.twigindex 4f4b17617e..2f06cdb738 100644--- a/resources/views/tags/create.twig+++ b/resources/views/tags/create.twig@@ -29,7 +29,7 @@<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('date') }}@@ -49,7 +49,7 @@<div class="card-body">{{ ExpandedForm::optionsList('create','tag') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn btn-success pull-right">{{ 'store_new_tag'|_ }}</button>diff --git a/resources/views/tags/delete.twig b/resources/views/tags/delete.twigindex 60548f380c..bd3540e22a 100644--- a/resources/views/tags/delete.twig+++ b/resources/views/tags/delete.twig@@ -29,7 +29,7 @@{% endif %}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/tags/edit.twig b/resources/views/tags/edit.twigindex 296900da7a..6358b9585f 100644--- a/resources/views/tags/edit.twig+++ b/resources/views/tags/edit.twig@@ -33,7 +33,7 @@<div class="card"><div class="card-header">- <h3 class="card-title">{{ 'optionalFields'|_ }}</h3>+ <h3 class="card-title">{{ __('firefly.optionalFields') }}</h3></div><div class="card-body">{{ ExpandedForm::date('date', tag.date.format('Y-m-d')) }}@@ -53,7 +53,7 @@<div class="card-body">{{ ExpandedForm::optionsList('update','tag') }}</div>- <div class="box-footer">+ <div class="card-footer"><button type="submit" class="btn pull-right btn-success">{{ 'update_tag'|_ }}</button>diff --git a/resources/views/tags/show.twig b/resources/views/tags/show.twigindex 632ceb4c2b..7fc1205663 100644--- a/resources/views/tags/show.twig+++ b/resources/views/tags/show.twig@@ -161,7 +161,7 @@#}</table></div>- <div class="box-footer">+ <div class="card-footer"><div class="btn-group btn-group-sm"><a href="{{ route('tags.edit',tag.id) }}" class="btn btn-outline-secondary"><spanclass="bi bi-pencil"></span></a>diff --git a/resources/views/transactions/bulk/edit.twig b/resources/views/transactions/bulk/edit.twigindex a9623c4e32..a59e1278f3 100644--- a/resources/views/transactions/bulk/edit.twig+++ b/resources/views/transactions/bulk/edit.twig@@ -166,7 +166,7 @@</div>- <div class="box-footer">+ <div class="card-footer"><div class="row"><div class="col-lg-8"><input type="submit" name="submit" value="{{ trans('form.update_all_journals') }}" class="btn btn-success pull-right"/>diff --git a/resources/views/transactions/convert.twig b/resources/views/transactions/convert.twigindex cc634f48de..404e040b6a 100644--- a/resources/views/transactions/convert.twig+++ b/resources/views/transactions/convert.twig@@ -280,7 +280,7 @@{% endfor %}</table></div>- <div class="box-footer">+ <div class="card-footer"><a href="{{ route('transactions.show', group.id) }}" class="btn btn-danger">{{ 'cancel'|_ }}</a><button type="submit" id="transaction-btn" class="btn btn-success pull-right">{{ trans('form.convert_'~sourceType.type) }}diff --git a/resources/views/transactions/delete.twig b/resources/views/transactions/delete.twigindex 8c9dcf14b3..51a93a9d43 100644--- a/resources/views/transactions/delete.twig+++ b/resources/views/transactions/delete.twig@@ -23,7 +23,7 @@{{ trans('form.journal_areYouSure', {'description': group.title|default(journal.description)}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/><a href="{{ previous }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/transactions/links/delete.twig b/resources/views/transactions/links/delete.twigindex d97b9d4caa..31fa8a21b3 100644--- a/resources/views/transactions/links/delete.twig+++ b/resources/views/transactions/links/delete.twig@@ -22,7 +22,7 @@{{ trans('form.journal_link_areYouSure', {source: link.source.description|escape, destination: link.destination.description|escape, source_link: route('transactions.show', [link.source_id]) , destination_link: route('transactions.show',link.destination_id)})|raw }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/transactions/mass/delete.twig b/resources/views/transactions/mass/delete.twigindex 34522ee04d..bfb4e7da11 100644--- a/resources/views/transactions/mass/delete.twig+++ b/resources/views/transactions/mass/delete.twig@@ -98,7 +98,7 @@</table></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.delete_all_permanently') }}" class="btn btn-danger pull-right"/><a href="{{ route('index') }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/transactions/mass/edit.twig b/resources/views/transactions/mass/edit.twigindex 8dce317ce7..a964069b19 100644--- a/resources/views/transactions/mass/edit.twig+++ b/resources/views/transactions/mass/edit.twig@@ -171,7 +171,7 @@{% endfor %}</table></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.update_all_journals') }}" class="btn btn-success pull-right"/><a href="{{ route('index') }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a></div>diff --git a/resources/views/transactions/old-index.twig b/resources/views/transactions/old-index.twigindex f65a910884..1315f93e08 100644--- a/resources/views/transactions/old-index.twig+++ b/resources/views/transactions/old-index.twig@@ -83,7 +83,7 @@{# actual list #}{% include 'list.groups' %}</div>- <div class="box-footer">+ <div class="card-footer">{# links for other views #}{% if periods|length > 0 %}<p>diff --git a/resources/views/transactions/single/delete.twig b/resources/views/transactions/single/delete.twigindex 5a9d2da68f..4a6a556936 100644--- a/resources/views/transactions/single/delete.twig+++ b/resources/views/transactions/single/delete.twig@@ -23,7 +23,7 @@{{ trans('form.journal_areYouSure', {'description': journal.description}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/>{% if journal.transactiontype.type == 'Withdrawal' %}<a href="{{ route('transactions.index','withdrawal') }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>diff --git a/resources/views/webhooks/delete.twig b/resources/views/webhooks/delete.twigindex 3fcc646196..3f64ca1a47 100644--- a/resources/views/webhooks/delete.twig+++ b/resources/views/webhooks/delete.twig@@ -20,7 +20,7 @@{{ trans('form.webhook_areYouSure', {'title': webhook.title}) }}</p></div>- <div class="box-footer">+ <div class="card-footer"><input type="submit" id="button" name="submit" value="{{ trans('form.deletePermanently') }}"class="btn pull-right btn-danger"/><a href="{{ URL.previous() }}" class="btn-outline-secondary btn">{{ trans('form.cancel') }}</a>