diff --git a/templates/teamer/contact/index.html.twig b/templates/teamer/contact/index.html.twig index db976cd..005f502 100644 --- a/templates/teamer/contact/index.html.twig +++ b/templates/teamer/contact/index.html.twig @@ -2,72 +2,84 @@ {% block title %}Kontakt{% endblock %} +{# e-mail and phone are always visible links, so they work on touch screens, by keyboard and without a photo #} {% macro contact(contact) %} -
+
  • {% if contact.photo %} -
    - {{ contact.name }} - -
    + + {% else %} + + {{ icon('user', 'w-8 h-8') }} + {% endif %} -
    - {{ contact.name }} - {% if contact.category %}
    {{ ('label.contact.category.' ~ contact.category) | trans }}{% endif %} - {% if contact.destination %}
    {{ contact.destination }}{% endif %} +
    +

    {{ contact.name }}

    + {% if contact.category %} +

    {{ ('label.contact.category.' ~ contact.category) | trans }}

    + {% endif %} + {% if contact.destination %} +

    {{ contact.destination }}

    + {% endif %} +
    -
    +
  • +{% endmacro %} + +{% macro contacts(contacts) %} + {% if contacts is not empty %} + + {% endif %} {% endmacro %} {% block content %} -
    -

    - Kontakt -

    -

    - Hast du allgemeine Fragen zum Team-Sein bei E&P Reisen, zur Benutzung von E&P Team, zur Abrechnung - oder Ähnlichem? Dann schau mal in den FAQs nach, ob deine Frage dort beantwortet wird. -

    -

    - Ansonsten melde dich gerne beim Team Personalplanung! -

    -
    -
    - {% for contact in contacts.hr %} - {{ _self.contact(contact) }} - {% endfor %} -
    +

    + Kontakt +

    + +
    +

    + Personalplanung +

    +
    +

    + Hast du allgemeine Fragen zum Team-Sein bei E&P Reisen, zur Benutzung von E&P Team, zur Abrechnung + oder Ähnlichem? Dann schau mal in den FAQs nach, ob deine Frage dort beantwortet wird. +

    +

    + Ansonsten melde dich gerne beim Team Personalplanung! +

    -

    + {{ _self.contacts(contacts.hr) }} +

    + +
    +

    + Reise- und Hausmanagement +

    +

    Hast du nach Erhalt deiner Infomail (ein paar Tage vor deinem Einsatz) noch Fragen zu deinem Einsatz? Dann kontaktiere deine zuständige Reise- oder Hausmanager:in. Alle vorherigen Fragen können über - team@ep-reisen.de abgeklärt werden. + team@ep-reisen.de abgeklärt werden.

    -
    -
    - {% for contact in contacts.management %} - {{ _self.contact(contact) }} - {% endfor %} -
    -
    -
    -
    - {% for contact in contacts.house_management %} - {{ _self.contact(contact) }} - {% endfor %} -
    -
    -
    + {{ _self.contacts(contacts.management|merge(contacts.house_management)) }} + {% endblock %}