mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix old bug.
This commit is contained in:
parent
a6f3e61520
commit
4b80e46d26
@ -69,6 +69,7 @@ return [
|
||||
'warning_much_data' => ':days days of data may take a while to load.',
|
||||
'registered' => 'You have registered successfully!',
|
||||
'search' => 'Search',
|
||||
'no_budget_pointer' => 'You seem to have no budgets yet. You should create some on the <a href="/budgets">budgets</a>-page. Budgets can help you keep track of expenses.',
|
||||
|
||||
// account confirmation:
|
||||
'confirm_account_header' => 'Please confirm your account',
|
||||
|
@ -63,7 +63,14 @@
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<!-- BUDGET ONLY WHEN CREATING A WITHDRAWAL -->
|
||||
{{ ExpandedForm.select('budget_id',budgets,0) }}
|
||||
{% if budgets|length > 0 %}
|
||||
{{ ExpandedForm.select('budget_id',budgets,0) }}
|
||||
{% else %}
|
||||
{{ ExpandedForm.select('budget_id',budgets,0, {helpText: trans('firefly.no_budget_pointer')}) }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
<!-- CATEGORY ALWAYS -->
|
||||
{{ ExpandedForm.text('category') }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user