From 1b0b56a8730fdd2e060b381f0a5a2824549650da Mon Sep 17 00:00:00 2001
From: gaazzopa
Date: Wed, 2 Dec 2020 22:09:21 +0100
Subject: [PATCH] Updated window types in report
---
cara/apps/calculator/templates/report.html.j2 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cara/apps/calculator/templates/report.html.j2 b/cara/apps/calculator/templates/report.html.j2
index 2ab6bcf1..2a5c92c4 100644
--- a/cara/apps/calculator/templates/report.html.j2
+++ b/cara/apps/calculator/templates/report.html.j2
@@ -53,9 +53,12 @@
Number of windows: {{ form.windows_number }}
Height of window: {{ form.window_height }}
- Window type: {{ form.window_type }}
+ Window type:
{% if form.window_type == "hinged" %}
+ Top- or Bottom-Hung
Width of window: {{ form.window_width }}
+ {% elif form.window_type == "sliding" %}
+ Sliding / Side-Hung
{% endif %}
Opening distance: {{ form.opening_distance }}
Windows open: {{ form.windows_open }}