This commit is contained in:
2025-09-17 16:42:38 +02:00
parent 3ad0b8f15e
commit 92976d8496
4 changed files with 8 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ cd ${DIR}
cd ../..
DIR=$(pwd)
bin/console cache:clear --env=dev
bin/console cache:clear --env=prod
bin/console d:s:u --force --complete
bin/console app:init

View File

@@ -64,7 +64,7 @@
<div class="card mt-3">
<div class="card-header">Pad du Group</div>
<div class="card-body">
{{ group.description ? group.description|markdown_to_html : "" }}
{{ group.description ? group.description|markdown_to_html|nl2br : "" }}
</div>
</div>
</div>

View File

@@ -64,8 +64,8 @@
<a href="{{ path(routeupdateoption,{idproject:project.id,id:option.id}) }}" class="me-2"><i class="fas fa-file fa-2x"></i></a>
</td>
<td>{{option.title}}</td>
<td>{{option.whyYes?option.whyYes|markdown_to_html:""}}</td>
<td>{{option.whyNot?option.whyNot|markdown_to_html:""}}</td>
<td>{{option.whyYes?option.whyYes|markdown_to_html|nl2br:""}}</td>
<td>{{option.whyNot?option.whyNot|markdown_to_html|nl2br:""}}</td>
</tr>
{% endfor %}
</tbody>

View File

@@ -112,11 +112,11 @@
<div style="display:flex;">
<div style="flex:auto; padding:10px;">
<center><i class="fas fa-plus"></i></center>
{{option.whyYes?option.whyYes|markdown_to_html:""}}
{{option.whyYes?option.whyYes|markdown_to_html|nl2br:""}}
</div>
<div style="flex:auto; padding:10px;">
<center><i class="fas fa-minus"></i></center>
{{option.whyNot?option.whyNot|markdown_to_html:""}}
{{option.whyNot?option.whyNot|markdown_to_html|nl2br:""}}
</div>
</div>
</div>
@@ -125,7 +125,7 @@
<div class="card mt-3">
<div class="card-header">Description du Projet</div>
<div class="card-body">
{{ project.description ? project.description|markdown_to_html : "" }}
{{ project.description ? project.description|markdown_to_html|nl2br: "" }}
</div>
</div>
</div>