{% extends "template_admin.html" %} {% block content %}

Participant {{ participant.participantID }}

← Back to Progress
{% if participant.finished %} Finished {% elif participant.is_in_progress %} In Progress {% else %} Abandoned {% endif %} {% if participant.excludeFromCount %} Excluded {% endif %}

Summary

External ID {{ participant.mTurkID or "-" }} Condition {{ condition_num_to_label(participant.condition) or "-" }} Started {{ participant.timeStarted.strftime('%Y-%m-%d %H:%M:%S') if participant.timeStarted else "-" }} Ended {{ participant.timeEnded.strftime('%Y-%m-%d %H:%M:%S') if participant.timeEnded else "-" }} Duration {{ participant.display_duration() }} Last Active {{ participant.lastActiveOn.strftime('%Y-%m-%d %H:%M:%S') if participant.lastActiveOn else "-" }} {% set completed_count = timeline | selectattr('status', 'equalto', 'completed') | list | length %} Progress {{ completed_count }} of {{ total_pages }} pages completed

Progress Timeline

Pages are listed in the order this participant encountered them.

{% for row in timeline %}
{{ row.index }}. {{ row.name }} {{ row.path }}
{% if row.status == 'completed' %} Completed {% elif row.status == 'in_progress' %} In Progress {% else %} Not Reached {% endif %}
{% if row.started_on or row.data %}
{% if row.started_on %}
Started: {{ row.started_on.strftime('%Y-%m-%d %H:%M:%S') }} {% if row.submitted_on %}  ·  Submitted: {{ row.submitted_on.strftime('%Y-%m-%d %H:%M:%S') }} {% if row.duration_display %}  ·  Duration: {{ row.duration_display }} {% endif %} {% endif %}
{% endif %} {% if row.data and row.data.kind == 'questionnaire' %}
Questionnaire: {{ row.data.name }}{% if row.data.tag %}  ·  Tag: {{ row.data.tag }}{% endif %}
{% for field in row.data.fields %} {% endfor %}
Question Field ID Response
{{ field.prompt }} {{ field.id }} {% if field.value == "" or field.value is none %} (empty) {% else %} {{ field.value }} {% endif %}
{% if row.data.calculated %}
Calculated fields {% for field in row.data.calculated %} {% endfor %}
{{ field.id }} {{ field.value }}
{% endif %} {% elif row.data and row.data.kind == 'tables' %} {% for tbl in row.data.tables %}
Table: {{ tbl.name }}
{% for section in tbl.sections %}
{% if section.filter or section.group_by %}
{% if section.filter %}Filter: {{ section.filter }}{% endif %} {% if section.filter and section.group_by %}  ·  {% endif %} {% if section.group_by %}Grouped by: {{ section.group_by }}{% endif %}
{% endif %} {% if section.error %}
Export failed: {{ section.error }}
{% else %} {% for r in section.rows %} {% if r.level is not none %} {% endif %} {% for f in r.fields %} {% endfor %} {% endfor %}
{{ r.level }}
{{ f.name }} {% if f.value == "" or f.value is none %} (empty) {% else %} {{ f.value }} {% endif %}
{% endif %}
{% endfor %} {% endfor %} {% elif row.path.startswith('questionnaire/') and row.status == 'completed' %}
No response data found for this questionnaire submission.
{% endif %}
{% endif %}
{% endfor %}
{% endblock %}