Skip to content

Firefly III: a personal finances manager

Update the menu item Tools (Import and export)

Lucas Guimad2f4399a1acb
diff --git a/resources/views/v1/partials/menu-sidebar.twig b/resources/views/v1/partials/menu-sidebar.twig
index 36a589f080..1ce1d42572 100644
--- a/resources/views/v1/partials/menu-sidebar.twig
+++ b/resources/views/v1/partials/menu-sidebar.twig
@@ -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"