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