diff --git a/back/.env b/back/.env
deleted file mode 100644
index fbac74c..0000000
--- a/back/.env
+++ /dev/null
@@ -1,4 +0,0 @@
-EMAIL_HOST_USER=accountemail@yourmail.com
-EMAIL_HOST_PASSWORD=accountpasswordhere
-SUBMIT_REPORT_DESTINATION_EMAIL=to-address@yourmail.com
-SUBMIT_REPORT_FROM_EMAIL=from-address@yourmail.com
\ No newline at end of file
diff --git a/back/backend/templates/backend/email.html b/back/backend/templates/backend/email.html
index 4bfb5f3..29a519e 100644
--- a/back/backend/templates/backend/email.html
+++ b/back/backend/templates/backend/email.html
@@ -12,7 +12,11 @@
{% for field in section.fields %}
{{field.label}} |
- {{field.value|default:""}} |
+ {% if field.field_type == 'boolean' %}
+ {{field.value|yesno:"yes,no"}}
+ {% else %}
+ {{field.value|default:" "}}
+ {% endif %} |
{% endfor %}
{% for rule in section.rule_violations %}
diff --git a/back/backend/templates/backend/email.txt b/back/backend/templates/backend/email.txt
index 698f576..fcb1749 100644
--- a/back/backend/templates/backend/email.txt
+++ b/back/backend/templates/backend/email.txt
@@ -5,12 +5,12 @@
Title: {{title}}
Reference #: {{reference_number}}
-{% for section in sections %}
+{% for section in sections %}{% if section.completed %}
{{section.title}}(SID: {{section.id}})
{% for field in section.fields %}
- {{field.label}}: {{field.value|default:"empty"}}
+ {{field.label}}: {% if field.field_type == 'boolean' %}{{field.value|yesno:"yes,no"}}{% else %}{{field.value|default:" "}}{% endif %}
{% endfor %}
{% for rule in section.rule_violations %}
[RULE] {{rule.label}}: {{rule.rule_break_text}}
{% endfor %}
-{% endfor %}
+{% endif %}{% endfor %}
diff --git a/back/backend/views.py b/back/backend/views.py
index 28fdf16..7a2739a 100644
--- a/back/backend/views.py
+++ b/back/backend/views.py
@@ -414,7 +414,7 @@ def send_report_to_admin(request, report_pk, status):
message = None
if params['reference_number'] == '':
message = EmailMultiAlternatives(
- "[Reimbursinator {}] ({})".format(params['title'], status),
+ "[Reimbursinator] {} ({})".format(params['title'], status),
msg_plain,
from_email,
[to_email],