From 94513310831875a72d21b3e17af9541a328cabd6 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 1 Oct 2024 13:28:49 -0500 Subject: Extract privileges and use them for access control --- uploader/templates/phenotypes/view-phenotype.html | 63 ++++++++++++++++++++--- 1 file changed, 56 insertions(+), 7 deletions(-) (limited to 'uploader/templates/phenotypes/view-phenotype.html') diff --git a/uploader/templates/phenotypes/view-phenotype.html b/uploader/templates/phenotypes/view-phenotype.html index 5aef6c1..03935f5 100644 --- a/uploader/templates/phenotypes/view-phenotype.html +++ b/uploader/templates/phenotypes/view-phenotype.html @@ -24,18 +24,67 @@ {{flash_all_messages()}}
Phenotype | +{{phenotype.Post_publication_description or phenotype.Pre_publication_abbreviation or phenotype.Original_description}} + |
Cross-Reference ID | +{{phenotype.xref_id}} | +
Collation | +{{dataset.FullName}} | +
# | +Sample | +Value | +Symbol | +SE | +N | +
---|---|---|---|---|---|
{{loop.index}} | +{{item.StrainName}} | +{{item.value}} | +{{item.Symbol or "-"}} | +{{item.error or "-"}} | +{{item.count or "-"}} | +
+ + You do not currently have privileges to view this phenotype in greater + detail. +
+ {%endif%} +