From a1af304aa0793f31c169dab13888f86486154e18 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 (cherry picked from commit 99bc0ba719b2e23eb5b89f4ec8fc033461576109) Signed-off-by: Lucas Gass --- .../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 5acbfa7f8a..01e1e871a0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -57,12 +57,27 @@

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

You searched for [% searchfield | html %]

[% END %] @@ -148,7 +163,6 @@ [% END %] [% END %] - [% IF add_form or copy_form %]

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

@@ -162,7 +176,7 @@
  • Save and continue editing
  • - Cancel + Cancel
    -- 2.39.5