<li><aclass="dropdown-item"href="{% url "relate-flow_list"course.identifier%}">{% trans "Analytics Overview" %}</a></li>
{% endif %}
{% endif %}
{% if pperm.batch_import_grade %}
<li><ahref="{% url "relate-import_grades"course.identifier%}">{% trans "Import Grades" %}</a></li>
{% endif %}
<lirole="presentation"class="divider"></li>
{% if pperm.batch_regrade_flow_session %}
<li><ahref="{% url "relate-regrade_flows_view"course.identifier%}">{% trans "Regrade flows" %}</a></li>
{% endif %}
{% if pperm.grant_exception %}
<lirole="presentation"class="divider"></li>
<lirole="presentation"class="dropdown-header">{% trans "Exceptions" %}</li>
<li><ahref="{% url "relate-grant_exception"course.identifier%}">{% trans "Grant exception" %}</a></li>
{% if user.is_staff %}
<li><ahref="{% url "admin:course_flowruleexception_changelist"%}?participation__course__id__exact={{course.id}}"target="_blank">{% trans "Show exceptions" %}</a></li>
{% if pperm.view_gradebook %}
<liclass="dropdown-divider"></li>
<li><h6class="dropdown-header">{% trans "Grade Book" %}</h6></li>
<li><aclass="dropdown-item"href="{% url "relate-view_participant_list"course.identifier%}">{% trans "List of Participants" %}</a></li>
<li><aclass="dropdown-item"href="{% url "relate-view_grading_opportunity_list"course.identifier%}">{% trans "List of Grading Opportunities" %}</a></li>
<li><aclass="dropdown-item"href="{% url "relate-view_gradebook"course.identifier%}">{% trans "Grade book" %}</a></li>
{% if pperm.batch_export_grade %}
<li><aclass="dropdown-item"href="{% url "relate-export_gradebook_csv"course.identifier%}">{% trans "Grade book (CSV export)" %}</a></li>
{% endif %}
{% endif %}
{% if pperm.batch_import_grade %}
<li><aclass="dropdown-item"href="{% url "relate-import_grades"course.identifier%}">{% trans "Import Grades" %}</a></li>
{% endif %}
{% if pperm.batch_regrade_flow_session %}
<liclass="dropdown-divider"></li>
<li><aclass="dropdown-item"href="{% url "relate-regrade_flows_view"course.identifier%}">{% trans "Regrade flows" %}</a></li>
{% endif %}
{% endif %}
<lirole="presentation"class="divider"></li>
<lirole="presentation"class="dropdown-header">{% trans "Exams" %}</li>
{% if user.is_staff %}
<li><ahref="{% url "admin:course_exam_changelist"%}?course__id__exact={{course.id}}"target="_blank">{% trans "Edit exams" %}</a></li>
{% endif %}
{% if pperm.batch_issue_exam_tickets %}
<li><ahref="{% url "relate-batch_issue_exam_tickets"course.identifier%}">{% trans "Batch-issue exam tickets" %}</a></li>
{% endif %}
{% if pperm.grant_exception %}
<liclass="dropdown-divider"></li>
<li><h6class="dropdown-header">{% trans "Exceptions" %}</h6></li>
<li><aclass="dropdown-item"href="{% url "relate-grant_exception"course.identifier%}">{% trans "Grant exception" %}</a></li>
{% if user.is_staff %}
<li><aclass="dropdown-item"href="{% url "admin:course_flowruleexception_changelist"%}?participation__course__id__exact={{course.id}}"target="_blank">{% trans "Show exceptions" %}</a></li>
{% endif %}
{% endif %}
</ul>
</li>
{% if user.is_staff or pperm.batch_issue_exam_ticket %}
<liclass="dropdown-divider"></li>
<li><h6class="dropdown-header">{% trans "Exams" %}</h6></li>
{% if user.is_staff %}
<li><aclass="dropdown-item"href="{% url "admin:course_exam_changelist"%}?course__id__exact={{course.id}}"target="_blank">{% trans "Edit exams" %}</a></li>
{% endif %}
{% if pperm.batch_issue_exam_ticket %}
<li><aclass="dropdown-item"href="{% url "relate-batch_issue_exam_tickets"course.identifier%}">{% trans "Batch-issue exam tickets" %}</a></li>
{% endif %}
{% endif %}
</ul>
</li>
{% endif %}
{% if pperm.preview_content or pperm.use_markup_sandbox or pperm.use_page_sandbox %}
<liclass="dropdown">
<ahref="#"class="dropdown-toggle"data-toggle="dropdown">{% trans "Content" context "menu item" %}<bclass="caret"></b></a>
<ulclass="dropdown-menu">
{% if pperm.preview_content or pperm.update_content %}
<li><ahref="{% url "relate-update_course"course.identifier%}">{% trans "Retrieve/preview new course revisions" %}</a></li>
<li><ahref="{% url "relate-manage_authentication_token"%}">{% trans "Manage Git Authentication Token" %}</a></li>