From c48058a21a104e2ab2ed2a04035341dc1e0d7d95 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=UTF-8 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 --- 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 30be1ed..9b9bbcf 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 %] -- 1.7.10.4