Update the menu item Tools (Import and export)

This commit is contained in:
Lucas Guima 2020-04-27 21:30:12 -03:00
parent 02d1bc093c
commit d2f4399a1a

View File

@ -147,35 +147,29 @@
</a>
</li>
<li class="{{ activeRoutePartial('import') }} {{ activeRoutePartial('export') }} treeview" id="transaction-menu">
<li class="{{ activeRoutePartial('import') }} {{ activeRoutePartial('export') }} treeview">
<a href="#">
<i class="fa fa-hdd-o fa-fw"></i>
{% if config('firefly.feature_flags.export') %}
<span>{{ 'import_and_export_menu'|_ }}</span>
{% else %}
<span>{{ 'import_transactions'|_ }}</span>
{% endif %}
<i class="fa fa-cogs fa-fw"></i>
<span>Tools</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{{ activeRoutePartial('import') }}">
<a href="{{ route('import.index') }}">
<i class="fa fa-archive fa-fw"></i>
<span>{{ 'import_transactions'|_ }}</span>
</a>
</li>
{% if config('firefly.feature_flags.export') %}
<li class="{{ activeRoutePartial('export') }}">
<a href="{{ route('export.index') }}">
<i class="fa fa-life-bouy fa-fw"></i>
<span>{{ 'export_data_menu'|_ }}</span>
</a>
</li>
<li class="{{ activeRoutePartial('export') }}">
<a href="{{ route('export.index') }}">
<span>{{ 'export_data_menu'|_ }}</span>
</a>
</li>
{% endif %}
</ul>
</li>
<li id="option-menu"