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