fix transform to activity

This commit is contained in:
2022-07-01 14:09:46 +02:00
parent 87403e509f
commit 9c1324e9ec
3 changed files with 72 additions and 6 deletions

View File

@@ -125,6 +125,13 @@
</div>
<ul class="record_actions">
{% if is_granted('CHILL_ACTIVITY_CREATE', accompanyingCourse) %}
<li>
<a class="btn btn-create" href="{{ chill_path_add_return_path('chill_calendar_calendar_to_activity', { 'id': calendar.id }) }}">
{{ 'Transform to activity'|trans }}
</a>
</li>
{% endif %}
{% if (calendar.isInvited(app.user)) %}
{% set invite = calendar.inviteForUser(app.user) %}
<li>