From 131164a47ba37968042e4d3c924b300a4354edea Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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) {
  • The barcode was not found
  • -
  • Fast cataloging
  • + Fast cataloging @@ -853,4 +853,4 @@ No patron matched - \ No newline at end of file + -- 1.7.1