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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (+4 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% IF ( borrowernumber ) %]
2
[% IF ( borrowernumber ) %]
2
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
3
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
3
<!--[if IE 6]>
4
<!--[if IE 6]>
Lines 63-68 Link Here
63
<div id="menu">
64
<div id="menu">
64
<ul>
65
<ul>
65
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
66
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
67
    [% IF Koha.Preference('batch_checkouts').split('\|').grep(categorycode).size > 0 %]
68
      [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]&amp;batch=1">Batch check out</a></li>
69
    [% END %]
66
    [% IF ( CAN_user_borrowers ) %]
70
    [% IF ( CAN_user_borrowers ) %]
67
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
71
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
68
    [% END %]
72
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt (-1 / +4 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[%# duplicates circ-menu.inc but assumes all borrower attributes are in a borrower variable rather than
2
[%# duplicates circ-menu.inc but assumes all borrower attributes are in a borrower variable rather than
2
in the global namespace %]
3
in the global namespace %]
3
[% IF borrower %]
4
[% IF borrower %]
Lines 66-71 in the global namespace %] Link Here
66
<div id="menu">
67
<div id="menu">
67
<ul>
68
<ul>
68
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">Check out</a></li>
69
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">Check out</a></li>
70
    [% IF Koha.Preference('batch_checkouts').split('\|').grep(borrower.categorycode).size > 0 %]
71
      [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]&amp;batch=1">Batch check out</a></li>
72
    [% END %]
69
	[% IF ( CAN_user_borrowers ) %]
73
	[% IF ( CAN_user_borrowers ) %]
70
	[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">Details</a></li>
74
	[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">Details</a></li>
71
	[% END %]
75
	[% END %]
72
- 

Return to bug 11759