.
This commit is contained in:
@@ -4,22 +4,33 @@
|
||||
|
||||
|
||||
|
||||
<div class="floating-header">
|
||||
<a href="{% url 'atlas:structure_update' pk=structure.pk %}" title="Edit the Structure">Edit</a>
|
||||
<a href="{% url 'atlas:structure_delete' pk=structure.pk %}" title="Delete the Structure">Delete</a>
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:atlas_structure_change' structure.id %}"
|
||||
title="Edit the Structure using the admin interface">Admin Edit</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<h3>Name: {{structure.name}}</h3>
|
||||
Primary name: {{structure.primary}}<br />
|
||||
Synonyms: {{structure.synonym.all|join:", "}}<br />
|
||||
</div>
|
||||
<div class="floating-header">
|
||||
<a href="{% url 'atlas:structure_update' pk=structure.pk %}" title="Edit the Structure">Edit</a>
|
||||
<a href="{% url 'atlas:structure_delete' pk=structure.pk %}" title="Delete the Structure">Delete</a>
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'admin:atlas_structure_change' structure.id %}"
|
||||
title="Edit the Structure using the admin interface">Admin Edit</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<h3>Name: {{structure.name}}</h3>
|
||||
Primary name: {{structure.primary}}<br />
|
||||
Synonyms: {{structure.synonym.all|join:", "}}<br />
|
||||
</div>
|
||||
<h4>Associated Cases</h4>
|
||||
<ul>
|
||||
{% for series_finding in structure.seriesfinding_set.all %}
|
||||
{% for series in series_finding.series.all %}
|
||||
{% for case in series.case.all %}
|
||||
{{case.get_link}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user