improve collection overview page
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
{% extends 'atlas/exams.html' %}
|
||||
|
||||
{% load partials %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{collection.name}}</h2>
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
<div>
|
||||
Exam mode: {{collection.exam_mode}} (Exam open acess: {{collection.exam_open_access}})<br />
|
||||
Publish results: {{collection.publish_results}}<br />
|
||||
Active: {{collection.active}}<br />
|
||||
Exam mode: {{collection.exam_mode}} (open access: {{collection.exam_open_access}})<br />
|
||||
{% include "generic/partials/exams/exam_status.html#publish-results" %}
|
||||
{% include "generic/partials/exams/exam_status.html#exam-active" %}
|
||||
Collection Type: {{collection.get_collection_type_display}}<br />
|
||||
Self review: {{collection.self_review}}<br />
|
||||
</div>
|
||||
|
||||
@@ -81,6 +81,16 @@ urlpatterns = [
|
||||
name="collection_take_start",
|
||||
),
|
||||
path("collection/<int:pk>/authors", views.CaseCollectionAuthorUpdate.as_view(), name="collection_authors"),
|
||||
path(
|
||||
"collection/<int:pk>/toggle_results_published",
|
||||
views.GenericExamViews.exam_toggle_results_published_htmx,
|
||||
name="exam_toggle_results_published",
|
||||
),
|
||||
path(
|
||||
"collection/<int:pk>/toggle_active",
|
||||
views.GenericExamViews.exam_toggle_active_htmx,
|
||||
name="exam_toggle_active",
|
||||
),
|
||||
path(
|
||||
"collection/<int:exam_id>/cids",
|
||||
views.GenericExamViews.exam_cids,
|
||||
|
||||
Reference in New Issue
Block a user