Bug 35650: (QA follow-up) Add spans to errors for user restrictions

This will ease translation.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-01-11 12:59:12 +00:00
parent 4699fd0c2f
commit 32799f8e36
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 8 additions and 8 deletions

View File

@ -72,21 +72,21 @@
<div class="dialog message [% m.code | html %]">
[% SWITCH m.code %]
[% CASE 'add_success' %]
Restriction type added.
<span>Restriction type added.</span>
[% CASE 'update_success' %]
Restriction type updated.
<span>Restriction type updated.</span>
[% CASE 'duplicate_display_text' %]
Another restriction type already has this label.
<span>Another restriction type already has this label.</span>
[% CASE 'duplicate_code' %]
Another restriction type already has this code.
<span>Another restriction type already has this code.</span>
[% CASE 'delete_success' %]
Restriction type deleted.
<span>Restriction type deleted.</span>
[% CASE 'delete_default' %]
Cannot delete the default restriction type.
<span>Cannot delete the default restriction type.</span>
[% CASE 'delete_system' %]
Cannot delete a system restriction type.
<span>Cannot delete a system restriction type.</span>
[% CASE %]
[% m.code | html %]
<span>[% m.code | html %]</span>
[% END %]
</div>
[% END %]