From 9548f14236a51b8b6e6d80d8a4547876cc2ead96 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 29 Mar 2016 23:51:02 +0000 Subject: [PATCH] Bug 16163: Show message if there are no dictionary definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1) Go to Reports -> View dictionary 2) Ensure you have no definitions 3) A message should show saying 'There are no saved definitions. Add a definition to the dictionary.' 4) Click the link to add a definition. Confirm this takes you to the form to add a new definition. Sponsored-by: Catalyst IT Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 30be1ed64f..9b9bbcf062 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -84,6 +84,8 @@ [% END %] + [% ELSE %] +
There are no saved definitions. Add a definition to the dictionary.
[% END %] [% END %] -- 2.39.5