From edf173e6ef1fa6de6e07f41c229799733456901a 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 --- .../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 d6f9e39f9a..086978561a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -58,12 +58,27 @@

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

You searched for [% searchfield | html %]

[% END %] @@ -149,7 +164,6 @@ [% END %] [% END %] - [% IF add_form or copy_form %]

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

@@ -163,7 +177,7 @@
  • Save and continue editing
  • - Cancel + Cancel
    -- 2.39.2