{% extends 'exp/base.html' %} {% load bootstrap3 %} {% load guardian_tags %} {% load static %} {% load tz %} {% block title %}{{ study.name }}{% endblock %} {% block flash %} {% bootstrap_messages %} {% if form.non_field_errors %} {% endif %} {% endblock %} {% block content %}
{% get_obj_perms user for study as "study_perms" %} {% if "can_edit_study" in study_perms %} Email Participants Edit Study {% endif %}

{{ study.name }}

{% include "studies/_image_display.html" with object=study large=1 %}

{{ study.short_description }}

{{ study.long_description }}

{{ study.duration }} {{ study.exit_url | default:"None specified" }}

{{ study.criteria }}

{{ study.min_age_years }} year{{ study.min_age_years|pluralize}} {{ study.min_age_months}} month{{ study.min_age_months|pluralize}} {{ study.min_age_days}} day{{ study.min_age_days|pluralize}} {{ study.max_age_years }} year{{ study.max_age_years|pluralize}} {{ study.max_age_months}} month{{ study.max_age_months|pluralize}} {{ study.max_age_days}} day{{ study.max_age_days|pluralize}} {{ study.date_modified |date:"M d, Y" }}

{{ study.uuid }}

This is the study id that participants will see

{% if study.public %} Public {% else %} Private {% endif %}

{% if not study.public and study.state == 'active' %}
{% endif %}
{% include 'studies/_study_status.html' with study=study %}
{% if "can_view_study_responses" in study_perms %}

View {{study.completed_responses_count|default:"0" }} Response{{ study.completed_responses_count|pluralize}}

Inspect responses from completed studies

{% endif %} {% if perms.studies.can_create_study %}
{% csrf_token %}
{% endif %}

Study Logs:

{% for log in logs %}
{% timezone request.user.time_zone %} {{ log.created_at }} {% endtimezone %}
{{ log.study.name }} study {% if log.action == "active" %} activated {% else %} {{ log.action }} {% endif %} by {{ log.user.get_short_name }}.
{% endfor %}
{% include 'studies/_paginator.html' with items=logs anchor="study-logs" %}
{% endblock %}