correctif sur admin calendar
This commit is contained in:
parent
5271f992a7
commit
14283a731e
|
@ -288,7 +288,12 @@
|
|||
{% if entity.id is defined %}
|
||||
{% for calendar in calendars %}
|
||||
{% if calendar.id==entity.id %}
|
||||
showCalendar({{ calendar.id }}, {{ calendar.canadd }});
|
||||
{% if access=="config" %}
|
||||
{% set calendarcanadd=true %}
|
||||
{% else %}
|
||||
{% set calendarcanadd=calendar.canadd %}
|
||||
{% endif %}
|
||||
showCalendar({{ calendar.id }}, {{ calendarcanadd }});
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue