{% macro counts(source) %} {% if source and source.draft %}

{{ source.draft.unmapped }} unmapped · {{ source.draft.removed }} removed from source

{% endif %} {% endmacro %} {% macro warning(source) %} {% if source and source.draft and source.draft.unmapped and not source.draft.required_target %}
{{ source.draft.unmapped }} unmapped {{ 'row' if source.draft.unmapped == 1 else 'rows' }} will be published with empty target values.
{% endif %} {% endmacro %} {% macro transition(source) %} {% if source %}Source: {{ source.name }} {% if source.draft and source.draft.previous_number %}V{{ source.draft.previous_number }} → {% endif %}V{{ source.number }}{% endif %} {% endmacro %}