From cc8a31bdaa0a395425a71e8fea50e9c69085b1da Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Tue, 4 Dec 2018 11:24:56 +0100
Subject: [PATCH] Removing some empty lines in e-mail templates.

---
 .../templates/messages/email/determination.html     | 13 ++++---------
 .../templates/messages/email/transition.html        |  4 +---
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/opentech/apply/activity/templates/messages/email/determination.html b/opentech/apply/activity/templates/messages/email/determination.html
index 221aaa0df..da042f16b 100644
--- a/opentech/apply/activity/templates/messages/email/determination.html
+++ b/opentech/apply/activity/templates/messages/email/determination.html
@@ -3,18 +3,13 @@
 
 {% block title %}Determination for {{ object.title }}{% endblock %}
 
-{% block content %}
-Your application has been reviewed and the outcome is: {{ determination.clean_outcome }}
+{% block content %}Your application has been reviewed and the outcome is: {{ determination.clean_outcome }}
 
 {{ determination.message|bleach|striptags }}
 
-{% for group in determination.detailed_data.values %}
-{{ group.title }}
+{% for group in determination.detailed_data.values %}{{ group.title }}
 {% for question, answer in group.questions %}
 {% if answer %}{{ question }}:
-{{ answer|bleach|striptags }}{% endif %}
-{% endfor %}
-{% endfor %}
+{{ answer|bleach|striptags }}{% endif %}{% endfor %}{% endfor %}
 
-Read the determination here: {{ request.scheme }}://{{ request.get_host }}{{ determination.get_absolute_url }}
-{% endblock %}
+Read the determination here: {{ request.scheme }}://{{ request.get_host }}{{ determination.get_absolute_url }}{% endblock %}
diff --git a/opentech/apply/activity/templates/messages/email/transition.html b/opentech/apply/activity/templates/messages/email/transition.html
index 2318ef7ea..a10355e55 100644
--- a/opentech/apply/activity/templates/messages/email/transition.html
+++ b/opentech/apply/activity/templates/messages/email/transition.html
@@ -1,5 +1,3 @@
 {% extends "messages/email/applicant_base.html" %}
 
-{% block content %}
-Your application has been progressed from {{ old_phase.display_name }} to {{ submission.phase }}.
-{% endblock %}
+{% block content %}Your application has been progressed from {{ old_phase.display_name }} to {{ submission.phase }}.{% endblock %}
-- 
GitLab