{% gettimemessage as timemessage %}
{{timemessage}}, {{request.user.first_name}}!
Letzter Login: {{ request.user.last_login }}
{% getlocalweather request.user as weatherdata %}
{% if request.user.profile.agency.city|length > 0 and weatherdata.0 != None %}
{{weatherdata.0}}
{{weatherdata.2}}
{% endif %}
Agentur: {{ request.user.profile.agency.name }}
{% if request.user.profile.agency.module_news %}
News
{% if perms.users.modulenews %}
{% endif %}
| Titel |
Veröffentlicht von |
Veröffentlicht am |
{% for news_single in news %}
| {{news_single.name }} |
{{ news_single.created_by.first_name }} {{ news_single.created_by.last_name }} |
{{ news_single.go_online_on|date:"d.m.Y, H:i" }} |
{% endfor %}
{% endif %}
{% if request.user.profile.agency.module_news %}
{% endif %}
Neueste Standards
{% if standards_of_agency|length > 0 %}
| Titel |
Bearbeitet von |
Bearbeitet am |
{% for standard in standards_of_agency %}
| {{standard.name}} |
{{standard.last_modified_by.first_name}} {{standard.last_modified_by.last_name}} |
{{standard.last_modified_on|date:"d.m.Y, H:i"}} |
{% endfor %}
{% else %}
Noch keine Standards erstellt.
{% endif %}
{% if not request.user.profile.agency.module_news %}
{% endif %}
{% if not request.user.profile.agency.module_timemanagement %}
{% else %}
{% endif %}
{% if request.user.profile.agency.module_timemanagement %}
Heutige Abwesenheiten
{% if acutal_absences|length > 0 %}
| Mitarbeiter |
Abwesend bis |
Vertreter |
|
{% for ab in acutal_absences %}
|
{{ab.user.get_full_name}}
|
{{ab.end|date:"d.m.Y"}} |
{{ab.representator.get_full_name}} |
{% endfor %}
{% else %}
Für heute ist keine Abwesenheit eingetragen.
{% endif %}
{% endif %}
{% endblock content %}