Various small changes.

This commit is contained in:
James Cole
2017-03-03 18:19:25 +01:00
parent 978e3e615c
commit 8fb6c1a0c8
10 changed files with 83 additions and 26 deletions

View File

@@ -19,7 +19,7 @@
{{ ExpandedForm.text('name') }}
{% if what == 'asset' %}
{# Not really mandatory but OK #}
{{ ExpandedForm.select('currency_id', currencies) }}
{{ ExpandedForm.select('currency_id', currencies, null, {helpText:'account_default_currency'|_}) }}
{% endif %}
</div>
</div>

View File

@@ -12,7 +12,7 @@
<div class="row">
<div class="col-lg-8 col-md-12 col-sm-12">
<!-- ACCOUNTS -->
{# ACCOUNTS #}
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">{{ 'yourAccounts'|_ }}</h3>
@@ -22,7 +22,7 @@
</div>
</div>
<!-- BUDGETS -->
{# BUDGETS #}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'budgetsAndSpending'|_ }}</h3>

View File

@@ -0,0 +1,4 @@
var accountInfo = [];
{% for id, account in accounts %}
accountInfo[{{ id }}] = {preferredCurrency: {{ account.preferredCurrency}}};
{% endfor %}