From c2db827e64b421fdf98a5d839e31276bf9d4674a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Apr 2013 14:39:48 -0400 Subject: [PATCH] Bug 9957 - Missing cancel link on subfield editing page The subfield edit page has an edit bottom at the top of the page. Almost no other edit screens do this. It would be more consistent to put it at the bottom. Also missing is a "cancel" link. This patch fixes both issues. The patch also adds "Default" to the breadcrumbs when editing a subfield in the default framework. To test, apply the patch and edit a subfield: MARC frameworks -> MARC structure -> Subfields -> Edit. The "Save changes" button should appear at the bottom of the page alonside a "Cancel" link. Both should work correctly. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Template change only, improves consistency and works nicely. Signed-off-by: Jared Camins-Esakov (cherry picked from commit 559ff89fd641df9a67fe6fc53efdc49854ccdd1c) Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/admin/marc_subfields_structure.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt index e4918e01f2..716b129e57 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt @@ -177,7 +177,7 @@ function populateHiddenCheckboxes(tab) { [% INCLUDE 'cat-search.inc' %] +
+ Cancel +
[% END %] -- 2.39.5