{% extends "/base.html" %} {% set active_page = "projects" %} {% import "projects/_helpers.html" as helper %} {% block content %} {% if project %} {{ helper.render_project_local_nav(project, 'browse', current_user, pro_features, staff_or_admin) }}
{{ helper.render_project_title(project, subtitle="Browse tasks") }}

The project contains {{n_tasks}} tasks

{% for t in tasks %} {% set task_pct = t.pct_status*100 %}
{% if task_pct >= 100 %} Task #{{ t.id }} {% else %} Task #{{ t.id }} {% endif %}
{{ t.n_task_runs }} of {{ t.n_answers }} contributions
{% if task_pct >= 100 %}
{% else %}
{% endif %}
{% if task_pct >= 100 %} Download Results {% elif task_pct > 0 and task_pct < 100 %} Download Partial results {% else %} Nothing to download yet {% endif %}
{% endfor %} {{ helper.render_pagination(pagination) }}
{% else %} {{ helper.render_non_existant_project() }} {% endif %} {{ helper.broken_image() }} {% endblock %}