       end: '{{ task.deadline|date:"Y-m-d" }}',
              color: 'var(--secondary-color-med)',
              className: 'calendar-task-icon'
            };
            calendar.addEvent(task_{{  task.id }});
          {% endfor %}
        {% endif %}
      {% endfor %}
    });

    {% comment %} Objective and task status management {% endcomment %}

    function toggleObjective(ele) {
      let url = ele.attr('toggle-objective-url');
      let objectiveId = ele.attr('objective-id');
      let csrftoken 