Merge branch 'fix/hepa_in_report' into 'master'

Fix the HEPA information in the report.

See merge request cara/cara!52
This commit is contained in:
Philip James Elson 2020-11-06 16:55:40 +00:00
commit 9b875d3b28
2 changed files with 1 additions and 2 deletions

View file

@ -100,7 +100,6 @@ def build_report(model: models.Model, form: FormData):
'window_width': form.window_width,
'opening_distance': form.opening_distance,
'windows_open': form.windows_open,
'hepa_option': 'No',
'total_people': form.total_people,
'infected_people': form.infected_people,
'activity_type': form.activity_type,

View file

@ -47,7 +47,7 @@
{% else %}
No </p></li>
{% endif %}
<li><p class="data_text">HEPA Filtration: {{ hepa_option }}</li>
<li><p class="data_text">HEPA Filtration: {{ 'Yes' if form.hepa_option else 'No' }}</li>
<!--TODO: X type of filter with y flow rate (default model assumption) ? This was in the output doc..? -->
</ul>