View | Details | Raw Unified | Return to bug 8781
Collapse All | Expand All

(-)a/circ/circulation-home.pl (-1 / +4 lines)
Lines 25-31 use C4::Context; Link Here
25
use C4::Koha;
25
use C4::Koha;
26
26
27
my $query = new CGI;
27
my $query = new CGI;
28
my ($template, $loggedinuser, $cookie)
28
my ($template, $loggedinuser, $cookie, $flags)
29
= get_template_and_user({template_name => "circ/circulation-home.tmpl",
29
= get_template_and_user({template_name => "circ/circulation-home.tmpl",
30
				query => $query,
30
				query => $query,
31
				type => "intranet",
31
				type => "intranet",
Lines 37-41 my ($template, $loggedinuser, $cookie) Link Here
37
my $fa = getframeworkinfo('FA');
37
my $fa = getframeworkinfo('FA');
38
$template->param( fast_cataloging => 1 ) if (defined $fa);
38
$template->param( fast_cataloging => 1 ) if (defined $fa);
39
39
40
# Checking if the transfer page needs to be displayed
41
$template->param( display_transfer => 1 ) if ( ($flags->{'superlibrarian'} == 1) || (C4::Context->preference("IndependantBranches") == 0) );
42
40
43
41
output_html_with_http_headers $query, $cookie, $template->output;
44
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-1 / +2 lines)
Lines 19-25 Link Here
19
	<ul>
19
	<ul>
20
        <li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
20
        <li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
21
        <li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
21
        <li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
22
	[% IF ( display_transfer ) %]
22
		<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a></li>
23
		<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a></li>
24
	[% END %]
23
	[% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependantBranches ) %][% ELSE %]<li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li>[% END %][% END %]
25
	[% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependantBranches ) %][% ELSE %]<li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li>[% END %][% END %]
24
	[% IF ( fast_cataloging ) %]
26
	[% IF ( fast_cataloging ) %]
25
	    [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
27
	    [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
26
- 

Return to bug 8781