From 9dfc9d4d12c371a08086c753b76c881d67508610 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 13 Mar 2011 16:12:57 -0400 Subject: [PATCH] Bug 3495: Fast bib record add at circulation 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). Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- circ/circulation.pl | 6 ++++++ .../intranet-tmpl/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 ab681f1c7c..a98a666772 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -614,6 +614,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, @@ -657,6 +662,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 df78c54b3e..4791f3100e 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 + -- 2.39.5