{% macro checklist_badge(status) -%} {%- if status == "passed" -%} Passed {%- elif status == "warning" -%} Warning {%- elif status == "blocking" -%} Blocking {%- elif status == "waived" -%} Waived / N/A {%- elif status == "failed" -%} Failed {%- else -%} {{ status }} {%- endif -%} {%- endmacro %} {% macro readiness_badge(status) -%} {%- if status == "ready" -%} Ready {%- elif status == "warning" -%} Needs attention {%- elif status == "blocking" -%} Blocking issues {%- else -%} Not started {%- endif -%} {%- endmacro %} {% macro stage_pill(state) -%} {{ state.replace("_", " ") }} {%- endmacro %} {% macro approval_badge(status) -%} {%- if status == "approved" -%} Approved {%- elif status == "rejected" -%} Rejected {%- else -%} Pending {%- endif -%} {%- endmacro %} {% macro csrf_field(csrf_token) -%} {%- endmacro %} {% macro icon(name) -%} {%- endmacro %} {% macro cover(project, size='', artwork=none) -%} {% if artwork %}Project artwork{% else %}{% endif %} {%- endmacro %} {% macro player(media, project) -%} {% if media.audio %}
LOCAL PREVIEW{{ media.audio.asset.label }} · v{{ media.audio.version_number }}

{{ media.audio.original_filename }}

{% else %}
{{ icon('releases') }}

Your next sound starts here.

Register a local mix or master →Preview needs an audio file inside an approved music folder.
{% endif %} {%- endmacro %}