Bugzilla – Attachment 49674 Details for
Bug 16163
Show message if there are no dictionary definitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16163: Show message if there are no dictionary definitions
Bug-16163-Show-message-if-there-are-no-dictionary-.patch (text/plain), 1.39 KB, created by
Marc Véron
on 2016-03-30 08:34:27 UTC
(
hide
)
Description:
Bug 16163: Show message if there are no dictionary definitions
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-30 08:34:27 UTC
Size:
1.39 KB
patch
obsolete
>From c48058a21a104e2ab2ed2a04035341dc1e0d7d95 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >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 <veron@veron.ch> >--- > 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 @@ > </tr> > [% END %] > </table> >+ [% ELSE %] >+ <div class="dialog message">There are no saved definitions. <a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div> > [% END %] > [% END %] > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16163
:
49662
|
49674
|
49685