diff options
author | Frederick Muriuki Muriithi | 2025-01-23 14:48:29 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-01-23 14:48:29 -0600 |
commit | 7b626ecd21699bd809643aefeea7a075a96a4e66 (patch) | |
tree | 6b4f800e6d7d096893f14374d7dcaecba0f62943 /uploader/templates/phenotypes | |
parent | af3894def4696ce6d61e1354a9b9f1431b161302 (diff) | |
download | gn-uploader-7b626ecd21699bd809643aefeea7a075a96a4e66.tar.gz |
Only present SE and N columns if at least one row has them.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r-- | uploader/templates/phenotypes/view-phenotype.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uploader/templates/phenotypes/view-phenotype.html b/uploader/templates/phenotypes/view-phenotype.html index 077a301..5ed45b7 100644 --- a/uploader/templates/phenotypes/view-phenotype.html +++ b/uploader/templates/phenotypes/view-phenotype.html @@ -90,8 +90,10 @@ <th>#</th> <th>Sample</th> <th>Value</th> - <th>SE</th> + {%if has_se%} + <th>SE: {{has_se}}</th> <th>N</th> + {%endif%} </tr> </thead> @@ -101,9 +103,10 @@ <td>{{loop.index}}</td> <td>{{item.StrainName}}</td> <td>{{item.value}}</td> - <td>{{item.Symbol or "-"}}</td> + {%if has_se%} <td>{{item.error or "-"}}</td> <td>{{item.count or "-"}}</td> + {%endif%} </tr> {%endfor%} </tbody> |