From: Liz Rea Date: Thu, 7 Mar 2013 00:33:25 +0000 (+1300) Subject: Bug 9534 - No way to get back to bib detail from edit record X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=ad5dcf4c3b92bbf37c6fe97f1da99942be803dea 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. Signed-off-by: Jared Camins-Esakov --- 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 64298fa0ef..eb955cd446 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 ) %]