aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/populations/list-populations.html
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/populations/list-populations.html
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/populations/list-populations.html')
-rw-r--r--uploader/templates/populations/list-populations.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/uploader/templates/populations/list-populations.html b/uploader/templates/populations/list-populations.html
index bf6cf98..c14a28c 100644
--- a/uploader/templates/populations/list-populations.html
+++ b/uploader/templates/populations/list-populations.html
@@ -12,7 +12,7 @@
{%else%}
class="breadcrumb-item"
{%endif%}>
- <a href="{{url_for('populations.list_species_populations',
+ <a href="{{url_for('species.populations.list_species_populations',
species_id=species.SpeciesId)}}">List</a>
</li>
{%endblock%}
@@ -35,7 +35,7 @@
exist, click on the "Create Population" button below to create a new one.
</p>
<p>
- <a href="{{url_for('populations.create_population',
+ <a href="{{url_for('species.populations.create_population',
species_id=species.SpeciesId)}}"
title="Create a new population for species '{{species.FullName}}'."
class="btn btn-danger">