This commit is contained in:
Ross
2021-12-07 15:09:17 +00:00
parent 6aadd451bb
commit cff4304aca
+31
View File
@@ -0,0 +1,31 @@
{% extends 'atlas/base.html' %}
{% block content %}
<div class="floating-header">
{% comment %} <a href="{% url 'atlas:subspecialty_update' pk=subspecialty.pk %}" title="Edit the Condition">Edit</a>
<a href="{% url 'atlas:subspecialty_delete' pk=subspecialty.pk %}" title="Delete the Condition">Delete</a> {% endcomment %}
{% if request.user.is_superuser %}
<a href="{% url 'admin:atlas_subspecialty_change' subspecialty.id %}"
title="Edit the Condition using the admin interface">Admin Edit</a>
{% endif %}
</div>
<div>
<h3>Name: {{subspecialty.name}}</h3>
</div>
{% if subspecialty.case_set.all %}
<h4>Associated Cases</h4>
<ul>
{% for case in subspecialty.case_set.all %}
<li>{{case.get_link}}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block js %}
{% endblock %}