This commit is contained in:
Ross
2021-12-05 19:02:20 +00:00
parent ccbf8a5bcd
commit 5c23549b59
5 changed files with 79 additions and 12 deletions
+25
View File
@@ -0,0 +1,25 @@
{% extends 'atlas/base.html' %}
{% block content %}
<div class="floating-header">
<a href="{% url 'atlas:finding_update' pk=finding.pk %}" title="Edit the Finding">Edit</a>
<a href="{% url 'atlas:finding_delete' pk=finding.pk %}" title="Delete the Finding">Delete</a>
{% if request.user.is_superuser %}
<a href="{% url 'admin:atlas_finding_change' finding.id %}"
title="Edit the Finding using the admin interface">Admin Edit</a>
{% endif %}
</div>
<div>
<h3>Name: {{finding.name}}</h3>
Primary name: {{finding.primary}}<br />
Synonyms: {{finding.synonym.all|join:", "}}<br />
</div>
{% endblock %}
{% block js %}
{% endblock %}
@@ -1 +0,0 @@
{% include 'confirm_delete.html' %}
+25
View File
@@ -0,0 +1,25 @@
{% extends 'atlas/base.html' %}
{% block content %}
<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>
{% endblock %}
{% block js %}
{% endblock %}