{% extends 'admin_base.html.twig' %} {% block title %}Outlook Kalender Integration{% endblock %} {% block content %}
{% for type, messages in app.flashes %} {% for message in messages %} {% endfor %} {% endfor %}

Outlook Kalender Integration

Mit Outlook verbinden
Aktive Synchronisationen

{{ sync_status.total_syncs }}

Synchronisierte Kurse

{{ synchronized_courses|length }}

Verfügbare Kurse

{{ available_courses|length }}

Nicht synchronisiert

{{ available_courses|length - synchronized_courses|length }}

Gültige Token

{{ sync_status.valid_tokens }}

Abgelaufene Token

{{ sync_status.expired_tokens }}

Status
{{ sync_status.all_valid ? 'Alle OK' : 'Probleme' }}
{% if active_syncs is not empty %}
Aktive Outlook-Synchronisationen
{% for sync in active_syncs %} {% endfor %}
E-Mail Status Erstellt Letzte Aktualisierung Aktionen
{{ sync.userEmail }} {% if sync.tokenValid %} Aktiv {% else %} Token abgelaufen {% endif %} {{ sync.createdAt|date('d.m.Y H:i') }} {{ sync.updatedAt ? sync.updatedAt|date('d.m.Y H:i') : '-' }}
{% if not sync.isTokenValid() %} Erneuern {% endif %}
{% if active_syncs|length > 1 %}
{% endif %}
{% endif %}
Kurse synchronisieren
{% if credentials_configured %} {% if active_syncs is not empty %}
{{ available_courses|length }} Kurse verfügbar | 0 ausgewählt
{% for course in available_courses %} {% endfor %}
Kurs Status Standort Synchronisiert für Aktionen
{{ course.name }} {% if course.learningGoals %}
{{ course.learningGoals|slice(0, 100) }}{% if course.learningGoals|length > 100 %}...{% endif %} {% endif %}
{% if course_email_mapping[course.id] is defined %} Synchronisiert {% else %} {% if course.isAvailable %} Nicht synchronisiert {% else %} Nicht verfügbar {% endif %} {% endif %} {{ course.location ? course.location.name : 'Kein Standort' }} {% if course_email_mapping[course.id] is defined %} {% for email in course_email_mapping[course.id] %} {{ email }}{% if not loop.last %}, {% endif %} {% endfor %} {% else %} Nicht synchronisiert {% endif %} {% if course.isAvailable %}
{% if course_email_mapping[course.id] is defined %} {% endif %}
{% else %} {% endif %}
{% else %}
Keine aktive Synchronisation
Bitte verbinden Sie sich zuerst mit Outlook, um Kurse zu synchronisieren.
{% endif %} {% else %}
Outlook nicht konfiguriert
Bitte konfigurieren Sie zuerst die Microsoft Outlook Credentials in der .env Datei.
{% endif %}
{% endblock %}