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

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Victor Grousset/tuxayo 2024-03-03 01:07:30 +01:00 committed by Katrin Fischer
parent 19f38a286d
commit 0233c1d93f
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
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

@ -1334,7 +1334,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 %]