Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/9106

James Cole856a19498815
diff --git a/resources/views/accounts/index.twig b/resources/views/accounts/index.twig
index 74bb5e4984..e8e12dd7a8 100644
--- a/resources/views/accounts/index.twig
+++ b/resources/views/accounts/index.twig
@@ -67,6 +67,18 @@
{% endif %}
{% if accounts.count() == 0 and page == 1 %}
{% include 'partials.empty' with {objectType: objectType, type: 'accounts',route: route('accounts.create', [objectType])} %}
+
+ {% if inactiveCount > 0 %}
+ <p class="text-center"><small>
+ <em>
+ <a href="{{ route('accounts.inactive.index', objectType) }}" class="text-muted">
+ {{ trans_choice('firefly.inactive_account_link', inactiveCount) }}
+ </a>
+ </em>
+ </small>
+ </p>
+ {% endif %}
+
{% endif %}
{% endblock %}