{% macro render(task, compact=False) -%} {% if task.is_finished() %} {% if task.ctx['diff_count'] %} diff {{ task.ctx['diff_count'] }} from {{ task.ctx['compare_count'] }} compared reqs. {% for resource in task.list_resources(resource_type='METASEARCH_SUBSOURCE_REQUESTS_COMPARE_RESULT') %} {% endfor %}
full diff: {{resource.remote_http()}}
{% else %} no diff (compare {{task.ctx['compare_count'] }} reqs.) {% endif %} {% endif %} {%- endmacro %}