{% set item = child %} {% set can_process = (current_user.is_authenticated and item.get_available_processors(user=current_user)) %} {% set deprecated = (item.type not in processors) %} {% set is_filtered = (not deprecated and processors[item.type].is_filter()) %}
  • {# The status button for this processor #}
    {% if item.is_finished() and not is_filtered %}{% endif %} {% if item.is_finished() and not is_filtered %}{% endif %} {% if item.is_finished() and is_filtered and "copied_to" in item.parameters %}{% endif %} {% if is_filtered %} Filter {% elif item.is_finished() and item.num_rows > 0 %} Download {{ processors[item.type].extension if item.type in processors else "" }}, {{ item.get_results_path()|filesize_short }} {% elif item.is_finished() %} {% elif "queued" in item.status|lower %} {% else %} {% endif %} {% if item.is_finished() and ("copied_to" in item.parameters or not is_filtered) %}{% endif %} {% if item.is_finished() and not is_filtered %}{% endif %}
    {# Processor header, showing title, status, and a tooltip with a description #}

    {{ processors[item.type].title if not deprecated else "(Deprecated analysis) " + item.type }}

    {% if item.is_finished() and item.num_rows == 0 %}No results.{% endif %} {% with dataset=item, no_icons=True %} {% include "components/result-status.html" %} {% endwith %} {# Parameters #}
      {% if item.get_extension() in ("gexf", "csv", "svg", "jpeg", "jpg", "png", "gif", "webp") or item.get_own_processor().map_item %}
    • {% endif %} {% if item.get_log_path().exists() and current_user.is_authenticated %}
    • {% endif %}
    • {% if item.type in processors %} {% if processors[item.type]["references"] %}
    • {% set ref_name = processors[item.type].title %}{% set ref_refs = processors[item.type]["references"] %}{% set ref_id = item.key %}{% include "components/processor-references.html" %}
    • {% endif %} {% if item.get_version_url("backend/processors/" + processors[item.type].filepath) %}
    • {% endif %} {% endif %} {% if current_user.is_authenticated and (dataset.is_accessible_by(current_user, "owner") or __user_config("privileges.admin.can_manipulate_all_datasets") or item.is_accessible_by(current_user, "owner")) %}
    • Delete this analysis
    • {% endif %} {% if item.type in processors %}{% set processor_options = processors[item.type].get_options() %}{% endif %} {% for option in item.parameters %} {% if item.type in processors and option in processor_options and item.parameters[option] != "" and not processor_options[option].get("sensitive") %} {% if processor_options[option].type == "toggle" %} {% if item.parameters[option] %}
    • {{ option }}
    • {% endif %} {% else %}
    • {{ option }}={{ item.parameters[option] }} {% else %} -->{{ str_param[:14] }}... {% endif %}
    • {% endif %} {% endif %} {% endfor %}
    {# 'More' button to show further analysis and preview #}
    {% if current_user.is_authenticated and item.is_finished() and (item.children or (item.num_rows > 0 and item.get_available_processors(exclude_hidden=True))) %} {% endif %}
    {# Panel with preview, available processors, and further analyses, hidden by default #}