Make CSV import a feature that can be turned on / off.

This commit is contained in:
James Cole
2015-07-05 08:47:16 +02:00
parent 540dde135e
commit 9105104303
3 changed files with 8 additions and 1 deletions

View File

@@ -123,9 +123,11 @@
<li class="{{ activeRoutePartial('currency') }}">
<a class="{{ activeRoutePartial('currency') }}" href="{{ route('currency.index') }}"><i class="fa fa-usd fa-fw"></i> {{ 'currencies'|_ }}</a>
</li>
{% if Config.get('firefly.csv_import_enabled') %}
<li class="{{ activeRoutePartial('csv') }}">
<a href="{{ route('csv.index') }}"><i class="fa fa-file-text-o fa-fw"></i> {{ 'csv_import'|_ }}</a>
</li>
{% endif %}
</ul>