fixed: do not allow to edit a course through the "warning" button on the course's index page

This commit is contained in:
2022-07-11 13:45:52 +02:00
parent 87a9d48bdf
commit 16fed67dd0
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<div class="alert alert-warning alert-with-actions">
<div class="float-button bottom">
<div class="box">
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_UPDATE', accompanyingCourse) %}
<div class="action">
<ul class="record_actions">
<li>
@@ -13,6 +13,8 @@
</li>
</ul>
</div>
{% endif %}
<p>{{ 'Some peoples does not belong to any household currently. Add them to an household soon'|trans }}</p>
</div>
</div>