Compare commits

...

3 Commits

3 changed files with 12 additions and 3 deletions

3
.changes/v2.16.2.md Normal file
View File

@@ -0,0 +1,3 @@
## v2.16.2 - 2024-02-21
### Fixed
* Check for null values in closing motive of parcours d'accompagnement for correct rendering of template

View File

@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie). and is generated by [Changie](https://github.com/miniscruff/changie).
## v2.16.2 - 2024-02-21
### Fixed
* Check for null values in closing motive of parcours d'accompagnement for correct rendering of template
## v2.16.1 - 2024-02-09 ## v2.16.1 - 2024-02-09
### Fixed ### Fixed
* Force bootstrap version to avoid error in builds with newer version * Force bootstrap version to avoid error in builds with newer version

View File

@@ -35,9 +35,11 @@
<div class="warnings"> <div class="warnings">
<div class="alert alert-danger"> <div class="alert alert-danger">
<h2>{{ 'This course is closed'|trans }}</h2> <h2>{{ 'This course is closed'|trans }}</h2>
<p> {% if accompanyingCourse.closingMotive is not same as null %}
{{ 'Closing motive'|trans }} : {{ accompanyingCourse.closingMotive.name|localize_translatable_string }} <p>
</p> {{ 'Closing motive'|trans }} : {{ accompanyingCourse.closingMotive.name|localize_translatable_string }}
</p>
{% endif %}
</div> </div>
</div> </div>
</div> </div>