about summary refs log tree commit diff
path: root/uploader/templates/populations
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/populations')
-rw-r--r--uploader/templates/populations/base.html6
-rw-r--r--uploader/templates/populations/index.html2
-rw-r--r--uploader/templates/populations/list-populations.html4
3 files changed, 6 insertions, 6 deletions
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%}
 <li {%if activelink=="populations"%}
     class="breadcrumb-item active"
     {%else%}
     class="breadcrumb-item"
     {%endif%}>
-  <a href="{{url_for('populations.index')}}">Populations</a>
+  <a href="{{url_for('species.populations.index')}}">Populations</a>
 </li>
 {%block lvl3_breadcrumbs%}{%endblock%}
 {%endblock%}
diff --git a/uploader/templates/populations/index.html b/uploader/templates/populations/index.html
index 14cf547..061ca1d 100644
--- a/uploader/templates/populations/index.html
+++ b/uploader/templates/populations/index.html
@@ -11,6 +11,6 @@
 <div class="row">
   To continue, you need to select the species:
 
-  {{select_species_form(url_for("populations.index"), species)}}
+  {{select_species_form(url_for("species.populations.index"), species)}}
 </div>
 {%endblock%}
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">