From 124bc16cdc67b6ba31a281e619dcf15f181ba131 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 16 Dec 2020 11:33:10 -0600 Subject: Removed ID/Sample/Value from Show/Hide Columns in trait page and only show the option if columns other than those exist --- wqflask/wqflask/templates/show_trait_edit_data.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wqflask/wqflask/templates/show_trait_edit_data.html b/wqflask/wqflask/templates/show_trait_edit_data.html index 4ad11a5e..0d34bebc 100644 --- a/wqflask/wqflask/templates/show_trait_edit_data.html +++ b/wqflask/wqflask/templates/show_trait_edit_data.html @@ -1,12 +1,9 @@
{% for sample_type in sample_groups %}
- {% if loop.index == 1 %} + {% if loop.index == 1 and (sample_groups[0].se_exists or has_num_cases or sample_groups[0].attributes|length > 0) %} Show/Hide Columns:
- - - {% if sample_groups[0].se_exists %} {% if has_num_cases %} -- cgit v1.2.3