diff options
author | Frederick Muriuki Muriithi | 2024-09-09 10:48:29 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-09 10:48:29 -0500 |
commit | 707c715d1e336ee45bdcced031881ed603b9297a (patch) | |
tree | 9f4b39c20d595be5c531c70d001f932676342a46 /uploader/templates/populations | |
parent | b74911f15a9f9a9ff3cca0e25fcd761bf41652b5 (diff) | |
download | gn-uploader-707c715d1e336ee45bdcced031881ed603b9297a.tar.gz |
Display species details in populations views.
Diffstat (limited to 'uploader/templates/populations')
-rw-r--r-- | uploader/templates/populations/create-population.html | 3 | ||||
-rw-r--r-- | uploader/templates/populations/list-populations.html | 3 | ||||
-rw-r--r-- | uploader/templates/populations/view-population.html | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/uploader/templates/populations/create-population.html b/uploader/templates/populations/create-population.html index 12811fd..b57afba 100644 --- a/uploader/templates/populations/create-population.html +++ b/uploader/templates/populations/create-population.html @@ -1,6 +1,7 @@ {%extends "populations/base.html"%} {%from "flash_messages.html" import flash_all_messages%} {%from "species/macro-select-species.html" import select_species_form%} +{%from "species/macro-display-species-card.html" import display_species_card%} {%block title%}Create Population{%endblock%} @@ -219,5 +220,5 @@ {%endblock%} {%block sidebarcontents%} -<p>… maybe provide species details here, perhaps? …</p> +{{display_species_card(species)}} {%endblock%} diff --git a/uploader/templates/populations/list-populations.html b/uploader/templates/populations/list-populations.html index f0e3d50..c83c18c 100644 --- a/uploader/templates/populations/list-populations.html +++ b/uploader/templates/populations/list-populations.html @@ -1,6 +1,7 @@ {%extends "populations/base.html"%} {%from "flash_messages.html" import flash_all_messages%} {%from "species/macro-select-species.html" import select_species_form%} +{%from "species/macro-display-species-card.html" import display_species_card%} {%block title%}Populations{%endblock%} @@ -86,5 +87,5 @@ {%endblock%} {%block sidebarcontents%} -… maybe provide species details here, perhaps? … +{{display_species_card(species)}} {%endblock%} diff --git a/uploader/templates/populations/view-population.html b/uploader/templates/populations/view-population.html index 3ae76ab..52dadc4 100644 --- a/uploader/templates/populations/view-population.html +++ b/uploader/templates/populations/view-population.html @@ -1,6 +1,7 @@ {%extends "populations/base.html"%} {%from "flash_messages.html" import flash_all_messages%} {%from "species/macro-select-species.html" import select_species_form%} +{%from "species/macro-display-species-card.html" import display_species_card%} {%block title%}Populations{%endblock%} @@ -78,6 +79,5 @@ {%endblock%} {%block sidebarcontents%} -<p>… maybe provide species details here, perhaps? …</p> -<p>… maybe provide extra population details here, perhaps? …</p> +{{display_species_card(species)}} {%endblock%} |