From e73ba9c09cb3c4fcfc4c3ae581484e394fd56152 Mon Sep 17 00:00:00 2001 From: fnuesse Date: Tue, 20 Nov 2018 22:00:09 +0100 Subject: [PATCH] Added empty search result message Signed-off-by: fnuesse --- controller/translationcontroller.php | 1 + templates/views/show_vault.html | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php index 994e2c0d..e3a77751 100644 --- a/controller/translationcontroller.php +++ b/controller/translationcontroller.php @@ -355,6 +355,7 @@ class TranslationController extends ApiController { 'vault.hint.list.noexpired' => $this->trans->t('You don\'t have expired credentials'), 'vault.hint.list.nodeleted' => $this->trans->t('You don\'t have deleted credentials'), 'vault.hint.list.notags' => $this->trans->t('There are no credentials with your selected tags'), + 'vault.hint.list.nosearch' => $this->trans->t('There are no credentials matching'), // templates/views/vaults.html diff --git a/templates/views/show_vault.html b/templates/views/show_vault.html index b1a07529..005019cd 100644 --- a/templates/views/show_vault.html +++ b/templates/views/show_vault.html @@ -89,17 +89,24 @@ -
+
{{'vault.hint.hello' | translate}}
{{'vault.hint.hello.add' | translate}}
+ +
{{ 'vault.hint.list.notags' | translate}}
+ +
+
{{ 'vault.hint.list.nosearch' | translate}} '{{filterOptions.filterText}}'
+
+