Bug 23681: (QA follow-up) Remove spacing and add question mark

This patch removes the superflous whitespace around the restriction
descriptions and also adds the missing question mark into the delete
question.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2022-07-04 12:20:37 +01:00 committed by Tomas Cohen Arazi
parent 3fb2875df2
commit 060f528501
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 9 additions and 9 deletions

View file

@ -1,10 +1,10 @@
[%- 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 %]
[%- 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 -%]

View file

@ -132,7 +132,7 @@
Confirm restriction deletion
</legend>
<p>Are you sure you want to delete &quot;[% PROCESS restriction_type_description %]&quot;</p>
<p>Are you sure you want to delete "[% PROCESS restriction_type_description %]"?</p>
<fieldset class="action">
<input type="hidden" name="op" value="delete_confirmed" />