Bug 35924: (QA follow-up): Comment magic number (patron.privacy < 2)

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 0233c1d93f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Victor Grousset 2024-03-03 01:07:30 +01:00 committed by Fridolin Somers
parent d75da0473a
commit fe6569208d
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
[% IF patron.has_overdues %]
<li><a id="print_overdues" href="#">Print overdues</a></li>
[% END %]
[% IF patron.privacy < 2 %]
[% IF patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %]
<li><a class="printslip" data-code="checkinslip" href="#">Print checkin slip</a></li>
[% END %]
[% FOREACH notice IN Notices.GetTemplates( 'patron_slip' ) %]

View file

@ -1318,7 +1318,7 @@
</span>
</span>
[% END %]
[% IF riloo.patron.privacy < 2 %]
[% IF riloo.patron.privacy < 2 %] [%# 2 is the privacy rule "Never" (Delete my history immediately) %]
<a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a>
[% END %]
[% ELSE %]