{% set x = c.ctx %} {% set running = x.events|selectattr('state','equalto','running')|list %} {% set upcoming = x.events|selectattr('state','equalto','upcoming')|list %} {% for e in running %}
{{ e.sign }}
{{ e.name }} day {{ e.day }} of {{ e.days }} {% if e.joined %}

{{ e.line }}

{% if e.badges %}
{% for b in e.badges %}{{ b.icon }} {{ b.title }}{% endfor %}
{% endif %} {% else %}

Running now. You are not in it.

{% endif %}
{% endfor %} {% for e in upcoming %}

{{ e.sign }} {{ e.name }} starts in {{ e.starts_in_days }} day{{ '' if e.starts_in_days == 1 else 's' }} ({{ e.event.starts }}){% if e.joined %} — you're in{% else %} —

{% endif %}

{% endfor %} {% if not x.events %}

{{ x.n }} playset{{ '' if x.n == 1 else 's' }} installed. Training, prompts, mantras, badges and events, made by other people, installed from a file.

{% endif %} Playsets →