Restore views (#262)

This commit is contained in:
James Cole
2016-06-06 09:28:35 +02:00
parent 8dc106b79a
commit 8091dbfdfa
6 changed files with 365 additions and 1 deletions

View File

@@ -110,7 +110,8 @@
</li>
<!-- import and export -->
<li class="{{ activeRoutePartial('export') }} treeview">
<li class="{{ activeRoutePartial('export') }} {{ activeRoutePartial('csv') }} treeview">
<a href="#">
<i class="fa fa-arrows-alt fa-fw"></i>
<span>
@@ -119,6 +120,12 @@
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
{% 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 %}
<li class="{{ activeRoutePartial('export') }}">
<a href="{{ route('export.index') }}"><i class="fa fa-file-archive-o fa-fw"></i> {{ 'export_data'|_ }}</a>
</li>