Bugzilla – Attachment 3289 Details for
Bug 3495
Fast bib record add at circulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow-up patch
0001-Bug-3495-Fast-bib-record-add-at-circulation.patch (text/plain), 2.59 KB, created by
Katrin Fischer
on 2011-03-14 00:28:17 UTC
(
hide
)
Description:
follow-up patch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-03-14 00:28:17 UTC
Size:
2.59 KB
patch
obsolete
>From 131164a47ba37968042e4d3c924b300a4354edea Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 14 Mar 2011 01:21:26 +0100 >Subject: [PATCH] Bug 3495: Fast bib record add at circulation >Content-Type: text/plain; charset="utf-8" > >The link to the Fast add framework was never shown. >Now the link is shown if you have the right permissions (fast cataloging or superlibrarian). >--- > circ/circulation.pl | 6 ++++++ > .../prog/en/modules/circ/circulation.tmpl | 4 ++-- > 2 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 8a184d1..f145f5c 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -615,6 +615,11 @@ if($bor_messages_loop){ $template->param(flagged => 1 ); } > my (undef, $roadttype_hashref) = &GetRoadTypes(); > my $address = $borrower->{'streetnumber'}.' '.$roadttype_hashref->{$borrower->{'streettype'}}.' '.$borrower->{'address'}; > >+my $fast_cataloging = 0; >+ if (defined getframeworkinfo('FA')) { >+ $fast_cataloging = 1 >+ } >+ > $template->param( > lib_messages_loop => $lib_messages_loop, > bor_messages_loop => $bor_messages_loop, >@@ -658,6 +663,7 @@ $template->param( > is_child => ($borrower->{'category_type'} eq 'C'), > circview => 1, > soundon => C4::Context->preference("SoundOn"), >+ fast_cataloging => $fast_cataloging, > ); > > # save stickyduedate to session >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >index df78c54..4791f31 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl >@@ -303,7 +303,7 @@ function refocus(calendar) { > <li>The barcode was not found <!-- TMPL_VAR NAME="barcode" --></li> > <!-- TMPL_IF NAME="fast_cataloging" --> > <!-- TMPL_IF NAME="CAN_user_editcatalogue_fast_cataloging" --> >- <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">Fast cataloging</a></li> >+ <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">Fast cataloging</a> > <!-- /TMPL_IF --> > <!-- /TMPL_IF --> > <!-- /TMPL_IF --> >@@ -853,4 +853,4 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span> > <!-- TMPL_INCLUDE NAME="circ-menu.inc" --> > </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS --> > </div> >-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> >\ No newline at end of file >+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> >-- >1.7.1 >
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 3495
:
1358
|
1359
|
3107
|
3253
| 3289