add some tests and views
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
<a href="{% url 'generic:cid_group_view' %}">Cid Groups</a> /
|
||||
<a href="{% url 'generic:user_group_view' %}">User Groups</a> /
|
||||
<a href="{% url 'accounts_list' %}">Manage Users</a> /
|
||||
<a href="{% url 'generic:supervisor' %}">Manage Supervisors</a>
|
||||
<a href="{% url 'generic:supervisor' %}">Manage Supervisors</a> /
|
||||
<a href="{% url 'generic:exam_collection_list' %}">Collections</a>
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{% extends 'generic/base.html' %}
|
||||
|
||||
|
||||
{% block navigation %}
|
||||
{{block.super}}
|
||||
<br/>Test
|
||||
{% comment %} <a href="{% url 'generic:cid_group_detail' cidusergroup.pk %}">Collections</a> / {% endcomment %}
|
||||
|
||||
{% endblock %}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{% extends 'generic/examcollection_base.html' %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ object.name }} [{{object.date}}] </h1>
|
||||
|
||||
{{object.anatomy_exams}}
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
|
||||
{% endblock %}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{% extends 'generic/examcollection_base.html' %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Exam Collections</h1>
|
||||
<ul class="collections">
|
||||
{% for collection in object_list %}
|
||||
<li class="collection"><a href="{% url 'generic:exam_collection_detail' collection.pk %}">{{ collection.name }} [{{ collection.date}}] (Authors: {{ collection.get_authors }})</a></li>
|
||||
{% empty %}
|
||||
<li>No exam collections yet.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user