{# templates/timetracking/week.html.twig #} {% extends 'base.html.twig' %} {% from '_macros/helpers.html.twig' import smart_date %} {% set months = deMonths() %} {% set monthsShort = deMonthsShort() %} {% set weekdays = deWeekdays() %} {% set weekdaysShort= deWeekdaysShort() %} {% block title %} {{ smart_date(currentDate, todayStr, tomorrowStr, yesterdayStr, months, weekdays) }} {% endblock %} {% block body %}
{% include '_sections/tt-header.html.twig' %}
{{ greeting }}, {{ firstName }}!
{% include '_atoms/duration-help.html.twig' %}
{# Minimal-Modus: Bemerkung-Toggle (nur via CSS/JS sichtbar) #}
{# Minimal-Modus: Summary-Zeile zum Aufklappen #} {% if timeEntries is not empty %}
{% endif %}
{% if timeEntries is empty %}

{{ 'app.entry.no_entries'|trans }}

{% else %}
{% for entry in timeEntries %} {% include 'timetracking/_entry_row.html.twig' with { entry: entry } %} {% endfor %}
{{ totalDuration }}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}