Skip to content
Snippets Groups Projects
Commit 71230b0f authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'SDC-779-add-summary-info' into 'master'

small bugfix

See merge request !269
parents e934862d 000a6907
No related branches found
No related tags found
1 merge request!269small bugfix
Pipeline #40930 passed
...@@ -708,8 +708,11 @@ def construct_summary(task): ...@@ -708,8 +708,11 @@ def construct_summary(task):
results = "" results = ""
# find the plots in the quality json structure # find the plots in the quality json structure
try:
summary = task.quality_json["summary"] summary = task.quality_json["summary"]
results = "<h4>Summary File (for sas_id " + task.sas_id+ ")</h4> "
#<h4><img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="30" alt="summary">
# Summary File (sas_id {{ task.sas_id }}) </h4>
total_size_input = 0 total_size_input = 0
total_size_output = 0 total_size_output = 0
...@@ -789,5 +792,7 @@ def construct_summary(task): ...@@ -789,5 +792,7 @@ def construct_summary(task):
except: except:
pass pass
except:
pass
return results return results
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<table class="table table-striped"> <table class="table table-striped">
{{ quality | safe }} {{ quality | safe }}
</table> </table>
<h4>Summary File</h4>
<table class="table table-striped"> <table class="table table-striped">
{{ summary | safe }} {{ summary | safe }}
</table> </table>
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<h4><img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="30" alt="summary">
Summary File (sas_id {{ task.sas_id }}) </h4>
<table class="table table-striped"> <table class="table table-striped">
{{ my_summary | safe }} {{ my_summary | safe }}
</table> </table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment