From d4fd4693423d99f500bfcd65cea42ed47e8d59e0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 19 Sep 2024 13:43:21 -0500 Subject: Only show a single genotype dataset. It is expected that there is only ever a single genotype dataset for any one particular population. --- uploader/templates/genotypes/list-genotypes.html | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'uploader/templates/genotypes') diff --git a/uploader/templates/genotypes/list-genotypes.html b/uploader/templates/genotypes/list-genotypes.html index 8afd591..3780f85 100644 --- a/uploader/templates/genotypes/list-genotypes.html +++ b/uploader/templates/genotypes/list-genotypes.html @@ -95,14 +95,8 @@

The genotype data is organised under various genotype datasets. You can click on the link for the relevant dataset to view a little more information about it.

-

You can also create a new genotype dataset by clicking the button below. -
- - create new genotype dataset

- {%if datasets | length > 0%} + {%if dataset is defined %} @@ -112,7 +106,6 @@ - {%for dataset in datasets%} - {%endfor%}
{{dataset.Name}} {{dataset.FullName}}
{%else%} -

- - There are no genotype datasets to display, yet! -

+

+ + There is no genotype dataset defined for this population. +

+

+ + create new genotype dataset

{%endif%} {%endblock%} -- cgit v1.2.3