.
This commit is contained in:
@@ -6,9 +6,13 @@ Physics
|
|||||||
|
|
||||||
{% block navigation %}
|
{% block navigation %}
|
||||||
Physics:
|
Physics:
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
<a href="{% url 'physics:exam_list' %}">Exams</a> /
|
<a href="{% url 'physics:exam_list' %}">Exams</a> /
|
||||||
{% endif %}
|
<a href="{% url 'physics:question_view' %}">Questions</a>
|
||||||
|
{% if request.user.is_superuser %}
|
||||||
|
/ <a href="{% url 'physics:user_answer_table_view' %}" title="User answers">Answers</a>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user