From 2046919e5db5d1e7136f48641fe0adb701c145e4 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Sep 2024 15:31:12 -0500 Subject: 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. --- uploader/templates/base.html | 4 ++-- uploader/templates/populations/base.html | 6 +++--- uploader/templates/populations/index.html | 2 +- uploader/templates/populations/list-populations.html | 4 ++-- uploader/templates/species/base.html | 4 ++-- uploader/templates/species/create-species.html | 2 +- uploader/templates/species/view-species.html | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'uploader/templates') diff --git a/uploader/templates/base.html b/uploader/templates/base.html index fd6010b..d9696d0 100644 --- a/uploader/templates/base.html +++ b/uploader/templates/base.html @@ -45,7 +45,7 @@
@@ -63,7 +63,7 @@ {%endif%}> Home - {%block breadcrumbs%}{%endblock%} + {%block lvl1_breadcrumbs%}{%endblock%} diff --git a/uploader/templates/populations/base.html b/uploader/templates/populations/base.html index 1033927..d763fc1 100644 --- a/uploader/templates/populations/base.html +++ b/uploader/templates/populations/base.html @@ -1,12 +1,12 @@ -{%extends "base.html"%} +{%extends "species/base.html"%} -{%block breadcrumbs%} +{%block lvl2_breadcrumbs%}
-
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%}