Bug 20799: (follow-up) Add ILLModule system preference check and fix display for no requests
When there were no requests the label would still display, using .count fixes this. Also adds a check on the ILLModule system preference to prevent the information from showing when the ILL module is deactivated. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
9a6b28a914
commit
4cf04214d3
|
|
@ -128,7 +128,7 @@
|
|||
</span>
|
||||
[% END %]
|
||||
|
||||
[% IF ( illrequests ) %]
|
||||
[% IF ( Koha.Preference( 'ILLModule' ) && illrequests.count ) %]
|
||||
<span class="results_summary">
|
||||
<span class="label">ILL requests:</span>
|
||||
[% IF CAN_user_ill %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue