From dfe03b80be8cb871f51d2423fc816ac328b4e880 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 7 Mar 2013 13:33:25 +1300 Subject: [PATCH] [PASSED QA] Bug 9534 - No way to get back to bib detail from edit record To test: * Set your BiblioDefaultDisplay to one of the options (go through all three of them) * view a record * click "Edit Record" * you should see a "Cancel" button on the toolbar - click it * you will be redirected back to the detail page, in the default display method you have picked * Click More -> Cataloging * Click the Cancel button * you should be redirected back to the cataloguing home page This patch only applies on top of the patch for bug 9672 as it uses the bootstrap buttons. Signed-off-by: Brendan Signed-off-by: Katrin Fischer Tested according to test plan, also with z39.50 overlay from detail page. All tests except for tt_valid and QA script pass. Sending a follow-up to fix that problem. --- .../prog/en/modules/cataloguing/addbiblio.tt | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 64298fa..eb955cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -371,8 +371,14 @@ function Changefwk(FwkList) { [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] -
- + [% IF (biblionumber) %] + + [% ELSE %] + Cancel + [% END %] + [% END %] +
+ -
- [% END %] + +
[% IF ( popup ) %] -- 1.7.9.5