{% set item = child %} {% set can_process = (current_user.is_authenticated and item.processors) %}
{% if child.is_finished() and child.num_rows > 0 %} {{ "{:,}".format(child.num_rows) }} item{% if child.num_rows != 1 %}s{% endif %}, {{ processors[child.type].extension if child.type in processors else "download" }} {% else %} {% if child.is_finished() %}No results. {{ child.status }}{% else %}{{ child.status }}{% endif %} {% endif %} {% for option in child.parameters %} {% if child.type in processors and "options" in processors[child.type] and option in processors[child.type].options %} {% if processors[child.type].options[option].type == "toggle" %} {% if child.parameters[option] %}{{ option }}{% endif %} {% else %} {{ option }}={{ child.parameters[option] }}{% endif %} {% endif %} {% endfor %}
{{ processors[item.type].description if item.type in processors else "This analysis module has been deprecated but you can still download the result." }}
{% if child.num_rows > 0 and child.type in processors and processors[child.type].extension in ("jpg", "jpeg", "png", "csv", "html", "svg") %}Permanent link to this analysis result (with context)
{% if item.type in processors and item.get_version_url("backend/processors/" + processors[item.type].file) %}Review the code that generated this result
{% endif %} {% if can_process %}