{# THE empty state (113 W5, ST-2). One shape for "there is nothing here" on every destination: an optional glyph, a title, body lines, and the one action. `static/app/state.js::stateBlock` builds the SAME markup for a state that a module draws after a read, so a server-rendered and a script-drawn empty state look alike. Every word is passed in already resolved through the copy layer. Use: {% from "_state.html" import state %} {{ state(title=t('inbox.empty.title'), body=[t('inbox.empty.body')], glyph=page_glyph, actions=[{'href': '/work', 'label': t('inbox.empty.see_work')}]) }} #} {% macro state(title=None, body=(), glyph=None, actions=()) -%}
{{ line }}
{%- endfor %} {%- if actions %}