about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2016-03-30 19:37:49 +0000
committerzsloan2016-03-30 19:37:49 +0000
commitb72135b75ba736a08fd43091576df836e32cf75a (patch)
treea4935e4f9a81d7c9816557eb56792435dc926902
parent56538279d3ecf2e039b995dccb610041897b2888 (diff)
downloadgenenetwork2-b72135b75ba736a08fd43091576df836e32cf75a.tar.gz
Disabled Haplotype Analyst option if mapping scale is centimorgan/genetic
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index b2679fbf..f50e1ecb 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -73,7 +73,9 @@
                   {% endif %}
                   <input type="checkbox" name="showGenes" class="checkbox" style="display: inline; margin-top: 0px;" {% if geneChecked|upper == "ON" %}value="ON" checked{% endif %}> <span style="font-size: 12px;">Gene Track </span> <span style="color:red;">*</span><br>
                   <input type="checkbox" name="viewLegend" class="checkbox" style="display: inline; margin-top: 0px;" {% if legendChecked|upper == "ON" %}value="ON" checked{% endif %}> <span style="font-size: 12px;">Legend </span><br>
-                  <input type="checkbox" name="haplotypeAnalystCheck" class="checkbox" style="display: inline; margin-top: 0px;" {% if haplotypeAnalystChecked|upper == "ON" %}value="ON" checked{% endif %}> <span style="font-size: 12px;">Haplotype Analyst </span> <span style="color:red;">*</span> 
+                  {% if mappingScale == "physic" %}
+                  <input type="checkbox" name="haplotypeAnalystCheck" class="checkbox" style="display: inline; margin-top: 0px;" {% if haplotypeAnalystChecked|upper == "ON" %}value="ON" checked{% endif %}> <span style="font-size: 12px;">Haplotype Analyst </span> <span style="color:red;">*</span>
+                  {% endif %} 
               </div>
           </div>
         </div>