From 3b838ac251a145be2cfa46a076f1e786a86c2f16 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Feb 2016 13:09:00 -0500 Subject: [PATCH] Bug 15880 - Serials new frequency link should be a toolbar button MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch converts the "new frequency" link to a Bootstrap-style toolbar button in order to maintain consistency. Also included in this patch are some other minor markup corrections: - A colon and space after labels - A 'Cancel' link instead of a button. - "Required" classes for a required field. To test, apply the patch and go to Serials -> Manage frequencies. - Test the "New frequency" button - Confirm that the changes to the entry form look correct. Followed test plan, displays as expected. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../serials/subscription-frequencies.tt | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt index 09860956a9..8442ed23e1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt @@ -106,11 +106,11 @@ $(document).ready(function() {
  1. - - + + Required
  2. - + [% ELSE %] @@ -134,7 +134,7 @@ $(document).ready(function() { [% END %]
  3. - + [% IF (new) %] [% ELSE %] @@ -142,17 +142,22 @@ $(document).ready(function() { [% END %]
  4. - +
- + Cancel
[% ELSE %] + + +

Frequencies

[% IF still_used %]
@@ -180,7 +185,6 @@ $(document).ready(function() {
[% END %] - New frequency [% IF (frequencies_loop.size) %] -- 2.39.5