aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-03 15:31:12 -0500
committerFrederick Muriuki Muriithi2024-09-03 16:51:27 -0500
commit2046919e5db5d1e7136f48641fe0adb701c145e4 (patch)
tree28f85290df7950497734254de0e18ccf702e153e /uploader/templates/species
parent61688c00e8734adee4d825571a9c43d926dca001 (diff)
downloadgn-uploader-2046919e5db5d1e7136f48641fe0adb701c145e4.tar.gz
Put populations under species: improve hierarchy.
Populations cannot exist without the species they are related to. This commit updates the URI hierarchy to reflect that expectation.
Diffstat (limited to 'uploader/templates/species')
-rw-r--r--uploader/templates/species/base.html4
-rw-r--r--uploader/templates/species/create-species.html2
-rw-r--r--uploader/templates/species/view-species.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/uploader/templates/species/base.html b/uploader/templates/species/base.html
index 8fb697d..04391db 100644
--- a/uploader/templates/species/base.html
+++ b/uploader/templates/species/base.html
@@ -1,6 +1,6 @@
{%extends "base.html"%}
-{%block breadcrumbs%}
+{%block lvl1_breadcrumbs%}
<li {%if activelink=="species"%}
class="breadcrumb-item active"
{%else%}
@@ -8,5 +8,5 @@
{%endif%}>
<a href="{{url_for('species.list_species')}}">Species</a>
</li>
-{%block lvl3_breadcrumbs%}{%endblock%}
+{%block lvl2_breadcrumbs%}{%endblock%}
{%endblock%}
diff --git a/uploader/templates/species/create-species.html b/uploader/templates/species/create-species.html
index 678b010..1bc3b61 100644
--- a/uploader/templates/species/create-species.html
+++ b/uploader/templates/species/create-species.html
@@ -5,7 +5,7 @@
{%block pagetitle%}Create Species{%endblock%}
-{%block lvl3_breadcrumbs%}
+{%block lvl2_breadcrumbs%}
<li {%if activelink=="create-species"%}
class="breadcrumb-item active"
{%else%}
diff --git a/uploader/templates/species/view-species.html b/uploader/templates/species/view-species.html
index 0a3b0dd..0364c97 100644
--- a/uploader/templates/species/view-species.html
+++ b/uploader/templates/species/view-species.html
@@ -22,7 +22,7 @@
</style>
{%endblock%}
-{%block lvl3_breadcrumbs%}
+{%block lvl2_breadcrumbs%}
<li {%if activelink=="view-species"%}
class="breadcrumb-item active"
{%else%}