From 540678e762c11d8a720fc18aea4bc390589c6ca5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Feb 2013 09:52:10 -0500 Subject: [PATCH] Bug 9696 - Remove YUI styling from buttons on patron card creator edit pages Content-Type: text/plain; charset="utf-8" Submit and cancel buttons on patron card creator edit pages should not be styled differently than other submit and cancel controls. This patch removes YUI styling of these controls and makes them consistent with controls on other Koha pages. The "Cancel" button has been removed altogether from the batch edit page since there is not a corresponding submit button. To test, got to the patron card creator and edit a batch, a layout, a profile, and a template. Submit and cancel controls should look correct and work correctly. --- .../prog/en/modules/patroncards/edit-batch.tt | 19 ------------ .../prog/en/modules/patroncards/edit-layout.tt | 31 ++------------------ .../prog/en/modules/patroncards/edit-profile.tt | 31 ++------------------ .../prog/en/modules/patroncards/edit-template.tt | 31 ++------------------ 4 files changed, 6 insertions(+), 106 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 13fd05a..7a0811b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -2,22 +2,6 @@ Koha › Tools › Patron card creator › Manage patron card batches [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] - [% INCLUDE 'header.inc' %] @@ -76,9 +60,6 @@ [% END %] -
- Cancel -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt index 862a2fa..0a96568 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt @@ -105,33 +105,6 @@ }); //]]> - [% INCLUDE 'header.inc' %] @@ -534,8 +507,8 @@
- - Cancel + + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt index bf479ba..8f50488 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt @@ -35,33 +35,6 @@ }); //]]> - [% INCLUDE 'header.inc' %] @@ -145,8 +118,8 @@
- - Cancel + + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt index b43f119..069161e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt @@ -35,33 +35,6 @@ }); //]]> - [% INCLUDE 'header.inc' %] @@ -181,8 +154,8 @@
- - Cancel + + Cancel [% IF ( template_id ) %] -- 1.7.9.5