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

{{_('This page shows all the available tasks for this project')}}.

{{_('For each task, you can find the following information')}}:


{% 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 }}
{% if task_pct >= 100 %}
{% else %}
{% endif %}
{% if task_pct >= 100 %} {{_('Download Task Results')}} {% elif task_pct > 0 and task_pct < 100 %} {{_('Download Partial results')}} {% else %} {{_('Nothing to download yet')}} {% endif %}
{% endfor %}
{{ helper.render_pagination(pagination, _('Tasks')) }} {% else %} {% endif %} {{ helper.broken_image() }} {% endblock %}