From 31543a8ac5a634f8e83286846b82e0d73a6f7274 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Feb 2013 09:52:10 -0500 Subject: [PATCH] [PASSED QA] Bug 9696 - Remove YUI styling from buttons on patron card creator edit pages 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. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Work as described. Works and looks well. No errors. Note: It's true that edit batch has not a submit button, but on the other managed pages (layout, profile, template) cancel aborts editing and takes you to a list of objects (layout, etc.) Now if we selected the wrong batch, we need to click on left menu o back button (yay). Are we loosing a consistent interface? Just thinking. Signed-off-by: Katrin Fischer Works as described, more consistent with Koha's general interface patterns. --- .../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