diff options
| author | Frederick Muriuki Muriithi | 2026-09-10 14:13:26 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-09-10 17:43:06 -0500 |
| commit | bfb581115cb5306cf2b95bb940d22b4c1dfca7d3 (patch) | |
| tree | c3cc106b5af04f399aae97350e00dc372c50b8c2 /uploader/templates/genotypes/base.html | |
| parent | 59a10f711af4a97f6b9fd98bf421f60f8fec1584 (diff) | |
| download | gn-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.html | 7 |
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%} |
