about summary refs log tree commit diff
path: root/uploader/templates/genotypes/base.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-09-10 14:13:26 -0500
committerFrederick Muriuki Muriithi2026-09-10 17:43:06 -0500
commitbfb581115cb5306cf2b95bb940d22b4c1dfca7d3 (patch)
treec3cc106b5af04f399aae97350e00dc372c50b8c2 /uploader/templates/genotypes/base.html
parent59a10f711af4a97f6b9fd98bf421f60f8fec1584 (diff)
downloadgn-uploader-bfb581115cb5306cf2b95bb940d22b4c1dfca7d3.tar.gz
PoC: UI for genotype records.
Implement a proof-of-concept (PoC) UI for genotype records.
Diffstat (limited to 'uploader/templates/genotypes/base.html')
-rw-r--r--uploader/templates/genotypes/base.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/uploader/templates/genotypes/base.html b/uploader/templates/genotypes/base.html
index 8d1b951..c2abc63 100644
--- a/uploader/templates/genotypes/base.html
+++ b/uploader/templates/genotypes/base.html
@@ -1,10 +1,11 @@
 {%extends "populations/base.html"%}
 {%from "populations/macro-display-population-card.html" import display_sui_population_card%}
+{%from "genotypes/macro-display-dataset-card.html" import display_dataset_card%}
 
 {%block breadcrumbs%}
 {{super()}}
 <li class="breadcrumb-item">
-  <a href="{{url_for('species.populations.genotypes.list_genotypes',
+  <a href="{{url_for('species.populations.genotypes.index',
            species_id=species['SpeciesId'],
            population_id=population['Id'])}}">
     genotype
@@ -14,5 +15,9 @@
 
 
 {%block sidebarcontents%}
+{%if dataset is defined and dataset is not none%}
+{{display_dataset_card(species, population, dataset)}}
+{%else%}
 {{display_sui_population_card(species, population)}}
+{%endif%}
 {%endblock%}