.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}
|
||||
Sbas
|
||||
Sbas
|
||||
{% endblock %}
|
||||
|
||||
{% block navigation %}
|
||||
Sbas:
|
||||
{% if request.user.is_authenticated %}
|
||||
<a href="{% url 'sbas:exam_list' %}">Exams</a> /
|
||||
<a href="{% url 'sbas:question_view' %}">Questions</a>
|
||||
{% if request.user.is_superuser %}
|
||||
/ <a href="{% url 'sbas:user_answer_table_view' %}" title="User answers">Answers</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Sbas:
|
||||
{% if request.user.is_authenticated %}
|
||||
<a href="{% url 'sbas:exam_list' %}">Exams</a> /
|
||||
<a href="{% url 'sbas:question_view' %}">Questions</a>
|
||||
{% if request.user.is_superuser %}
|
||||
/ <a href="{% url 'sbas:user_answer_table_view' %}" title="User answers">Answers</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<div class="question">
|
||||
<a href="{% url 'admin:sbas_question_change' question.id %}"
|
||||
title="Edit the Question using the admin interface">Admin Edit</a>
|
||||
<a href="{% url 'feedback_create' question_type='sbas' pk=question.pk %}"> Add Note</a>
|
||||
<div class="date">
|
||||
Created: {{ question.created_date|date:"d/m/Y"}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user