From 99bc0ba719b2e23eb5b89f4ec8fc033461576109 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 4 Apr 2019 14:05:21 +0000 Subject: [PATCH] Bug 14358: Changing the module refreshes the page and resets library choice MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch makes an incremental change towards fixing Bug 14358: The "New notice" button is converted to a dropdown button which asks the user to select a module to start with. To test, apply the patch and go to Tools -> Notices. Test the "New notice" button and confirm that module selections are reflected in the notice add form you are shown. Signed-off-by: Mikaël Olangcay Brisebois Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit edf173e6ef1fa6de6e07f41c229799733456901a) Signed-off-by: Martin Renvoize --- .../prog/en/modules/tools/letter.tt | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index c72b4ed2bf..f70dddb7b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -59,12 +59,27 @@

[% END %] -
- - -
+ + [% IF ( search ) %]

You searched for [% searchfield | html %]

[% END %] @@ -150,7 +165,6 @@ [% END %] [% END %] - [% IF add_form or copy_form %]

[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]

@@ -164,7 +178,7 @@
  • Save and continue editing
  • - Cancel + Cancel
    -- 2.39.5