largeur de la liste étapes

This commit is contained in:
Valentin
2024-11-25 22:02:41 +01:00
parent ef760adb39
commit e346f103e1
2 changed files with 11 additions and 4 deletions

View File

@@ -20,12 +20,16 @@
* @ingroup themeable
*/
#}
{% if output|length == 5
{% if output|length == 5
and output|replace(
{'0':'', '1':'', '2':'', '3':'', '4':'', '5':'', '6':'', '7':'', '8':'', '9':''}
) == ''
) == ''
%}
<p>{{- output|slice(0, 2) -}}</p>
{% else %}
<p>{{- output -}}</p>
{% set split_output = output|split('>') %}
<p>
{{- split_output[0]|raw -}}>
{{- split_output[1]|default('')|replace({'-': ''})|raw -}}>
</p>
{% endif %}