{% extends "base.html" %} {% block content %} {% if overcommitted %}
Overcommitted! Your budgets total {{ "%.1f"|format(total_budgeted) }} hours/week, which exceeds the 168 hours available.
{% endif %} {% if current_budgets %}
This Week's Budget vs Actual {{ "%.1f"|format(total_budgeted) }}h budgeted total
{% for b in current_budgets %}
{{ b.domain_name }}
{{ b.actual_hours }}h / {{ b.weekly_hours_float }}h {{ b.pct }}%
{% endfor %}
{% endif %} {% if all_budgets %}
All Budgets
{% for b in all_budgets %}
{{ b.domain_name }}
{{ b.weekly_hours }}h / week from {{ b.effective_from.strftime('%b %-d, %Y') if b.effective_from else '—' }}
Edit
{% endfor %}
{% else %}
No time budgets defined
Create a Budget
{% endif %} {% endblock %}