This commit is contained in:
Ross
2021-12-05 15:13:13 +00:00
parent cba0e75b8b
commit b4860c8ae1
7 changed files with 84 additions and 3 deletions
+1
View File
@@ -19,6 +19,7 @@ Atlas:
{% if request.user.is_authenticated %}
<a href="{% url 'atlas:case_view' %}">Cases</a> /
<a href="{% url 'atlas:series_view' %}">Series</a> /
<a href="{% url 'atlas:condition_view' %}">Conditions</a> /
<a href="{% url 'atlas:create' %}" title="Create a new atlas case">Create Case</a> /
<a href="{% url 'atlas:series_create' %}" title="Create a new image series">Create Series</a>
{% endif %}
+24
View File
@@ -0,0 +1,24 @@
{% extends 'atlas/base.html' %}
{% block content %}
<div class="floating-header">
{% comment %} <a href="{% url 'atlas:case_update' pk=case.pk %}" title="Edit the Condition">Edit</a>
<a href="{% url 'atlas:case_delete' pk=case.pk %}" title="Delete the Case">Delete</a>
{% if request.user.is_superuser %}
<a href="{% url 'admin:atlas_case_change' case.id %}" title="Edit the Case using the admin interface">Admin Edit</a>
{% endif %} {% endcomment %}
</div>
<div>
{{condition.name}}<br/>
{{condition.primary}}<br/>
{{condition.synonym}}<br/>
</div>
{% endblock %}
{% block js %}
{% endblock %}