diff options
author | BonfaceKilz | 2022-02-24 15:41:15 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-12 15:33:01 +0300 |
commit | 033e4ce445d7d11477cf002762c52df716a50baf (patch) | |
tree | c552726511ba53fa64fc99cbebaa3a30e6adb377 | |
parent | bcc2af521787ac7ca7cbae01c2ed11d367aafe3d (diff) | |
download | genenetwork2-033e4ce445d7d11477cf002762c52df716a50baf.tar.gz |
display_diffs.html: Display the csv columns header in the diffs page
-rw-r--r-- | wqflask/wqflask/templates/display_diffs.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wqflask/wqflask/templates/display_diffs.html b/wqflask/wqflask/templates/display_diffs.html index e787e468..ce50c1b4 100644 --- a/wqflask/wqflask/templates/display_diffs.html +++ b/wqflask/wqflask/templates/display_diffs.html @@ -11,14 +11,14 @@ {% set additions = diff.get("Additions") %} {% set modifications = diff.get("Modifications") %} {% set deletions = diff.get("Deletions") %} - + {% set header = diff.get("Columns", "Strain Name,Value,SE,Count") %} {% if additions %} <h2>Additions Data:</h2> <div class="row"> <div class="col-md-8"> <table class="table-responsive table-hover table-striped cell-border" id="table-additions"> <thead> - <th scope="col">Added Data</</th> + <th scope="col">Added Data ({{ header }})</th> </thead> <tbody> {% for data in additions %} @@ -39,9 +39,9 @@ <div class="col-md-8"> <table class="table-responsive table-hover table-striped cell-border" id="table-modifications"> <thead> - <th scope="col">Original</</th> - <th scope="col">Current</</th> - <th scope="col">Diff</</th> + <th scope="col">Original</th> + <th scope="col">Current</th> + <th scope="col">Diff ({{ header }})</th> </thead> <tbody> {% for data in modifications %} |