From 07c9a90aa3c15d6de522ca16158b1e932e3921b0 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 Signed-off-by: Chris Cormack --- .../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 03fac60e86..7cdebd86d6 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 @@ -38,7 +38,7 @@ $(document).ready(function() { [% INCLUDE 'cat-search.inc' %] +
+ Cancel +
[% END %] -- 2.39.5