From 2c01d28c401c47ad13d2b63e459c6548045b6452 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 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. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/patroncards/edit-batch.tt | 19 ------------ .../en/modules/patroncards/edit-layout.tt | 31 ++----------------- .../en/modules/patroncards/edit-profile.tt | 31 ++----------------- .../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 13fd05a437..7a0811bf5b 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 862a2fa561..0a96568ddb 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 bf479bac5a..8f504884b6 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 b43f11939e..069161e18f 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 ) %] -- 2.39.2