{% extends 'main/base.html' %} {% load static %} {% block scripts %} {% endblock scripts %} {% block title %} {{each_one.course_name}} {% endblock %} {% load humanize %} {% block content %}
...

{{each_one.name}}

{{ instructor }}

Description

{{ each_one.description }}

{% if request.user.userprofile.student_id != "" %}

Set Reminder: {{ notification.time_to_send }}

This daily reminder is personal to your account. Depending whether there are questions available for the day, you will be sent an email notification. Go to Options to change the time.

{% elif request.user.userprofile.instructor_id != "" %}

Students: {% for s in students %} {{s}}, {% endfor %}

{% endif %}
{% if request.user.userprofile.instructor_id != "" %}

Course Statistics

Here you will be able to see your students' score and response to each section.

Create a section

Here you can add a new section to the course. NOTE: only section can be activated at a time.

{% endif %} {% if open_section %}
Current Section: {{ open_section }}
{% if request.user.userprofile.instructor_id != "" %} Add Questions {% endif %}

{{ open_section.start_date }} - {{ open_section.end_date}}

Below you will see the questions currently active.

{% endif %} {% if upcoming_sections or closed_sections %}

Other sections

Below you will see all the other sections for this course. One section is activated at a time. All the questions you will receive will be from the currently activated section.

{% if upcoming_sections %}


Upcoming sections

These sections are not yet open and questions from these sections are not answerable.

{% for section in upcoming_sections|dictsort:"start_date" %}
{{ section.topic }} {% if request.user.userprofile.instructor_id != "" %} Go to section {% endif %}
{{ section.start_date }} - {{ section.end_date}} {% endfor %} {% endif %} {% if closed_sections %}
Closed sections

These sections are closed and questions from these sections are not answerable.

{% for section in closed_sections|dictsort:"start_date" %}
{{ section.topic }} {% if request.user.userprofile.instructor_id != "" %} Go to section {% endif %}
{{ section.start_date }} - {{ section.end_date}} {% endfor %} {% endif %}

{% endif %}
{% endblock %}