Commit 0320fd1c by Yvon Kerdoncuff

do not try to access informationPopupData when it is null

parent 1d58427b
......@@ -3,6 +3,7 @@
<div class="modal fade" id="infoForUserModal" tabindex="-1" role="dialog" aria-labelledby="infoForUserModalTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
{% if informationPopupData %}
<div class="modal-header">
<h5 class="modal-title" id="infoForUserModalTitle">{{ informationPopupData.title }}</h5>
</div>
......@@ -13,6 +14,7 @@
<a href='{{ path('set_user_validated_information_popup') }}' class="btn btn-primary">{{ informationPopupData.validationButtonText }}</a>
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ informationPopupData.closingButtonText }}</button>
</div>
{% endif %}
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment