{% if (is_boss or is_kAdmin or is_teamLeader) and showAddNameInProfileMessage %} {% endif %} {% if mailboxurl %}

{{unread_messages|length}} ungelesene Nachrichten

Posteingang

{% if unread_messages %} {% for message in unread_messages %} {% endfor %}
Absender Betreff
{{ message.sender }} {{ message.title }}
{% endif %} {% endif %} {% if hasNewTrainings %}

Ihnen wurden neue Inhalte freigeschaltet.

{% for newTraining in newTrainings %}

{% if not newTraining.trainingEnabled() and canSeeHiddenTrainings %}   {% endif %} {{newTraining.getTitle()}}

{% endfor %}
{% endif %} {% if is_boss and (newContent_boss is not empty or newSurveyResults_boss is not empty) %}

Sie sind als Führungskraft angemeldet.

{% if newContent_boss is not empty%}

Es liegen neue freigegebene Inhalte vor:

{% for bossContent in newContent_boss %}

{{bossContent.getTitle()}}

{% endfor %} {% endif %} {% if newSurveyResults_boss is not empty %}

Es liegen neue Befragungsergebnisse vor:

{% for bossSurveyResults in newSurveyResults_boss %}

{{bossSurveyResults.getTitle()}}

{% endfor %} {% endif %}
{% endif %} {% if is_kAdmin and (newContent_kadmin is not empty or newSurveyResults_kadmin is not empty) %}

Sie sind als Berater/in angemeldet.

{% if newContent_kadmin is not empty %}

Es liegen neue freigegebene Inhalte vor:

{% for kadminContent in newContent_kadmin %}

{{kadminContent.getTitle()}}

{% endfor %} {% endif %} {% if newSurveyResults_kadmin is not empty %}

Es liegen neue Befragungsergebnisse vor:

{% for kadminSurveyResults in newSurveyResults_kadmin %}

{{kadminSurveyResults.getTitle()}}

{% endfor %} {% endif %}
{% endif %} {% if newContent_kadmin is empty and newSurveyResults_kadmin is empty and newContent_boss is empty and newSurveyResults_boss is empty and mailboxurl == false and hasNewTrainings == false and showAddNameInProfileMessage == false %} {% include "dashboard/no-dashboard-item.html" with {'heading': defaultErrorSubject} %} {% endif %}