.
This commit is contained in:
@@ -54,15 +54,19 @@
|
||||
{{ author }},
|
||||
{% endfor %}
|
||||
</div>
|
||||
<p><button id='button-edit-order'>Edit exam order</button></p>
|
||||
{% if can_edit %}
|
||||
<p><button id='button-edit-order'>Edit exam order</button></p>
|
||||
{% endif %}
|
||||
<div>
|
||||
JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}),
|
||||
JSON creation id: {{exam.exam_json_id}}
|
||||
</div>
|
||||
<a href="{% url 'anatomy:exam_json' pk=exam.pk %}">JSON</a>
|
||||
<a href="{% url 'anatomy:exam_json_recreate' pk=exam.pk %}">Refresh JSON cache</a>
|
||||
<button id='button-open-access'>Make questions open access</button>
|
||||
<button id='button-closed-access'>Make questions closed access</button>
|
||||
{% if request.user.is_superuser %}
|
||||
<button id='button-open-access'>Make questions open access</button>
|
||||
<button id='button-closed-access'>Make questions closed access</button>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user