{% extends dashboard_base_template %} {% load static %} {% load edc_visit_schedule_extras %} {% load edc_subject_dashboard_extras %} {% block main %}
{% if not visit_schedules %}
Subject is not enrolled to any schedules.
{% endif %} {% if appointment %}
{% block crfs %} {% include "edc_subject_dashboard/dashboard/crfs.html" %} {% endblock crfs %} {% block requisitions %} {% include "edc_subject_dashboard/dashboard/requisitions.html" %} {% endblock requisitions %}
{% subject_schedule_footer_row subject_identifier current_visit_schedule current_schedule subject_dashboard_url %}
{% else %} {% for visit_schedule in visit_schedules.values %} {% for schedule in visit_schedule.schedules.values %}
{% appointment_in_progress subject_identifier visit_schedule schedule %}
{% block appointments %} {% include "edc_subject_dashboard/dashboard/appointments.html" %} {% endblock appointments %}
{% subject_schedule_footer_row subject_identifier visit_schedule schedule subject_dashboard_url %}
{% endfor %} {% endfor %} {% endif %}
{% block top_bar %} {% include "edc_subject_dashboard/dashboard/topbar.html" %} {% endblock top_bar %} {% block side_bar %} {% include 'edc_subject_dashboard/dashboard/sidebar.html' %} {% endblock side_bar %}
{% endblock main %}