From b65e87d17a17536c8100dee42aaf2680b1b7fe61 Mon Sep 17 00:00:00 2001 From: axolotle Date: Fri, 9 Apr 2021 22:32:27 +0200 Subject: [PATCH] add a message to history to say when it's empty --- app/src/i18n/locales/en.json | 1 + app/src/views/_partials/HistoryConsole.vue | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 98cc0ec3..43fbf6b4 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -201,6 +201,7 @@ "groups_and_permissions_manage": "Manage groups and permissions", "permissions": "Permissions", "history": { + "is_empty": "Nothing in history for now.", "title": "History", "last_action": "Last action:", "methods": { diff --git a/app/src/views/_partials/HistoryConsole.vue b/app/src/views/_partials/HistoryConsole.vue index 6d0a18ac..6b004a54 100644 --- a/app/src/views/_partials/HistoryConsole.vue +++ b/app/src/views/_partials/HistoryConsole.vue @@ -33,6 +33,10 @@ class="accordion" role="tablist" id="history" ref="history" > +

+ {{ $t('history.is_empty') }} +

+