Koha/koha-tmpl/intranet-tmpl/prog/en/includes/patron_restrictions.inc
Martin Renvoize 6d62f77e95
Bug 23681: (QA follow-up) Restore customisablity of description
This patch restores the customisability of description for system restriction
types. Translatability is not affected as you can translate the defaults
via template translation and assuming the end users leave their
descriptions at the default, the translations will be picked.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-25 08:41:05 -03:00

10 lines
400 B
HTML

[%- BLOCK restriction_type_description -%]
[% ddisplay = restriction.display_text %]
[% SWITCH ddisplay %]
[% CASE 'Manual' %]<span>Manual</span>
[% CASE 'Overdues' %]<span>Overdues</span>
[% CASE 'Suspension' %]<span>Suspension</span>
[% CASE 'Discharge' %]<span>Discharge</span>
[% CASE %]<span>[% ddisplay | html %]</span>
[% END %]
[%- END -%]