2015-05-02 03:37:16 -05:00
|
|
|
{% extends "./layout/default.twig" %}
|
2015-06-19 13:59:14 -05:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
2015-05-02 03:37:16 -05:00
|
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
|
2015-06-19 13:59:14 -05:00
|
|
|
{% endblock %}
|
2015-05-02 03:37:16 -05:00
|
|
|
|
2015-06-19 13:59:14 -05:00
|
|
|
{% block content %}
|
2015-05-02 03:37:16 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-sm-12 col-md-12">
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
2015-05-02 03:37:16 -05:00
|
|
|
Currencies
|
|
|
|
</div>
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box-body">
|
2015-05-02 03:37:16 -05:00
|
|
|
<p class="text-info">
|
|
|
|
Firefly III supports various currencies which you can set and enable here.
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
{% if currencies|length > 0 %}
|
|
|
|
<table class="table table-striped table-bordered">
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<th colspan="2">Currency</th>
|
|
|
|
</tr>
|
|
|
|
{% for currency in currencies %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="btn-group btn-group-xs">
|
|
|
|
<a class="btn btn-default" href="{{route('currency.edit',currency.id)}}"><i class="fa fa-fw fa-pencil"></i></a>
|
|
|
|
<a class="btn btn-default" href="{{route('currency.delete',currency.id)}}"><i class="fa fa-fw fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>{{ currency.name }} ({{ currency.code }}) ({{ currency.symbol|raw }})</td>
|
|
|
|
<td>
|
|
|
|
{% if currency.id == defaultCurrency.id %}
|
|
|
|
<span class="label label-success">default</span>
|
|
|
|
{% else %}
|
|
|
|
<a class="btn btn-info btn-xs" href="{{route('currency.default',currency.id)}}">make default</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
<p><a class="btn btn-success" href="{{route('currency.create')}}"><i class="fa fa-fw fa-plus-circle"></i> Add another currency</a></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-05 05:51:57 -05:00
|
|
|
{% endblock %}
|