From b14c0071d2878270b63f5f8d303962af3636e11a 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 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. --- .../intranet-tmpl/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 d6f9e39..0869785 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.1.4