{% macro status(s) %}{{ s }}{% endmacro %} {# Plans: a story's derived status. `to-draft` reads "not ready" — the hub holds no ticket for it yet. #} {% macro plan_status(s) %}{{ 'not ready' if s == 'to-draft' else s }}{% endmacro %} {% macro plan_counts(c) %}{% for k in ('done', 'ready', 'to-draft', 'blocked') %}{% if c.get(k) %}{{ c[k] }} {{ 'not ready' if k == 'to-draft' else k }} {% endif %}{% endfor %}{% endmacro %}