{% extends "base.html" %} {% block title %}{{ _('Weekly Goal Details') }} - {{ config.APP_NAME }}{% endblock %} {% block content %}
{{ goal.week_label }} {% if goal.exclude_weekends %} {{ _('5-day work week') }} {% endif %}
{{ goal.target_hours }}h
{{ goal.actual_hours }}h
{{ _('Completed') }}
{% elif goal.status == 'active' %}{{ _('Active') }}
{% elif goal.status == 'failed' %}{{ _('Failed') }}
{% else %}{{ _('Cancelled') }}
{% endif %}{{ _('Remaining Hours') }}
{{ goal.remaining_hours }}h
{{ _('Days Remaining') }}
{{ goal.days_remaining }}
{{ _('Avg Hours/Day Needed') }}
{{ goal.average_hours_per_day }}h
{{ date|format_date }} {% if is_weekend and goal.exclude_weekends %} ({{ _('excluded') }}) {% endif %}
{{ goal.notes }}
{{ entry.start_time|user_datetime }} {% if entry.notes %} • {{ entry.notes[:50] }}{% if entry.notes|length > 50 %}...{% endif %} {% endif %}
{{ entry.duration_formatted }}
{{ "%.2f"|format(entry.duration_seconds / 3600) }}h
{{ _('No time entries recorded for this week yet') }}