Bugzilla – Attachment 15925 Details for
Bug 9534
No way to get back to bib detail from edit record screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9534 - No way to get back to bib detail from edit record
Bug-9534---No-way-to-get-back-to-bib-detail-from-e.patch (text/plain), 3.03 KB, created by
Liz Rea
on 2013-03-07 02:56:31 UTC
(
hide
)
Description:
Bug 9534 - No way to get back to bib detail from edit record
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2013-03-07 02:56:31 UTC
Size:
3.03 KB
patch
obsolete
>From 2f3e2a6e35f1ffc102481f8964ca5902e3e60829 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >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. >--- > .../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 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 %] > <div class="btn-group"><a class="btn btn-small" href="#" id="z3950search"><i class="icon-search"></i> Z39.50 search</a></div> >- <div class="btn-group"> >- <label for="Frameworks">Change framework: </label> >+ [% IF (biblionumber) %] >+ <div class="btn-group"><a class="btn btn-small" id="cancel" [% IF ( BiblioDefaultViewmarc ) %]href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]"> [% ELSIF ( BiblioDefaultViewlabeled_marc ) %] href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]"> [% ELSIF ( BiblioDefaultViewisbd ) %] href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSE %] href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">[% END %]Cancel</a></div> >+ [% ELSE %] >+ <a class="btn btn-small" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cancel</a> >+ [% END %] >+ [% END %] >+ <div class="btn-group"> >+ <label for="Frameworks">Change framework: </label> > <select name="frameworkcode" id="Frameworks" onchange="Changefwk(this);"> > <option value="Default">Default</option> > [% FOREACH frameworkcodeloo IN frameworkcodeloop %] >@@ -381,12 +387,11 @@ function Changefwk(FwkList) { > [% ELSE %] > <option value="[% frameworkcodeloo.value %]"> > [% END %] >- [% frameworkcodeloo.frameworktext %] >- </option> >+ [% frameworkcodeloo.frameworktext %] >+ </option> > [% END %] >- </select> >- </div> >- [% END %] >+ </select> >+</div> > </div> > > [% IF ( popup ) %] >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9534
:
15925
|
16280
|
17060
|
17061