{% extends "_base.html" %} {% block title %}This Week ยท Cauldron{% endblock %} {% block content %}
// plan ยท week of {{ week_start.strftime('%b %-d') }}

this week

{% if plan.locked_at %} locked {% if plan.locked_reason == 'user' and locked_by_display %} by {{ locked_by_display }} {% else %} automatically {% endif %} ยท {{ plan.locked_at.strftime('%a %-I:%M %p') }} {% else %} pool has {{ pick_count }} pinned. ai generation lands in v0.3 โ€” for now, lock when ready to mark this week done. {% endif %}

state

{% if plan.locked_at %} {{ 'auto-locked' if plan.locked_reason == 'auto' else 'locked' }} {% else %} open {% endif %} week of {{ week_start.strftime('%b %-d, %Y') }}
{% if plan.locked_at %}

this week's plan is locked. it'll archive Sunday night and a fresh week opens Monday.

{% if plan.locked_reason == 'user' and plan.locked_by_sub == current_user_sub %}

๐Ÿ† you locked this one in.

{% endif %} {% else %}

nothing's stopping you from locking right now. or wait โ€” generator's coming and the race is part of the deal.

view pool ({{ pick_count }})
{% endif %}

scoreboard

user-locked weeks only
{% if streak and streak.count >= 2 %}

๐Ÿ”ฅ {{ streak.display_name }} on a {{ streak.count }}-week run.

{% endif %} {% if scoreboard and scoreboard|selectattr("wins")|list %} {% for s in scoreboard %} {% endfor %}
member wins last
{{ loop.index }}. {{ s.display_name or s.email.split('@')[0] }} {% if s.sub == current_user_sub %}ยท you{% endif %} {{ s.wins or 0 }} {{ s.last_win.strftime('%b %-d') if s.last_win else 'โ€”' }}
{% else %}

nobody's locked a week yet. be the first.

{% endif %}
{% endblock %}