From 87390b5a330df9069ed51b6288a0dbd7fa89352f Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 7 Mar 2013 13:33:25 +1300 Subject: [PATCH] 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 --- .../prog/en/modules/cataloguing/addbiblio.tt | 19 ++++++++++++------- 1 files 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 7e439bf..1fc5b96 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.2.5