Bug 33551: Remove span from restriction-types.inc

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 63f2d76457)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-05-03 09:09:25 +02:00 committed by Martin Renvoize
parent f34bc4c8d7
commit cdd51a66ed
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -1,10 +1,11 @@
[% PROCESS 'i18n.inc' %]
[%- BLOCK restriction_type_description -%]
[%- ddisplay = restriction_type.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>
[%- CASE 'Manual' -%][% t("Manual") %]
[%- CASE 'Overdues' -%][% t("Overdues") %]
[%- CASE 'Suspension' -%][% t("Suspension") %]
[%- CASE 'Discharge' -%][% t("Discharge") %]
[%- CASE -%][% ddisplay | html %]
[%- END -%]
[%- END -%]