From 0e1c5b47d20893d75f2096d9213961e9a68da718 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=UTF-8 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 --- .../en/modules/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 0986095..8442ed2 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) %] -- 1.7.10.4