aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-06-20 20:01:53 +0000
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commit2c880d5c79c849eea4b3888f83c826770ce1a984 (patch)
treeeb688159747466f0c4b5669e1d172f0eb8b92513 /gn2/wqflask/templates
parent975067f13c6491cb464d069413ff72f1cd41958c (diff)
downloadgenenetwork2-2c880d5c79c849eea4b3888f83c826770ce1a984.tar.gz
Add default value for location and symbol
Adding these in the DataTables column definitions is convenient because it means they don't need to be dealt with in the Python code
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/search_result_page.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/search_result_page.html b/gn2/wqflask/templates/search_result_page.html
index 934b6a9d..6ef66bd4 100644
--- a/gn2/wqflask/templates/search_result_page.html
+++ b/gn2/wqflask/templates/search_result_page.html
@@ -224,7 +224,8 @@
'type': "natural",
'width': "{{ max_widths.symbol * 8 }}px",
'targets': 3,
- 'data': "symbol"
+ 'data': "symbol",
+ 'defaultContent': "N/A"
},
{
'title': "Description",
@@ -248,7 +249,8 @@
'type': "natural-minus-na",
'width': "130px",
'targets': 5,
- 'data': "location"
+ 'data': "location",
+ 'defaultContent': "N/A"
},
{
'title': "<div style='text-align: right;'>Mean</div>",