diff options
author | Frederick Muriuki Muriithi | 2024-09-03 15:31:12 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-03 16:51:27 -0500 |
commit | 2046919e5db5d1e7136f48641fe0adb701c145e4 (patch) | |
tree | 28f85290df7950497734254de0e18ccf702e153e /uploader/templates/populations/list-populations.html | |
parent | 61688c00e8734adee4d825571a9c43d926dca001 (diff) | |
download | gn-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.html | 4 |
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"> |