Skip to content

Commit 6222985

Browse files
committed
improve formatting
1 parent fa51685 commit 6222985

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project/velkoja/templates/velkoja/notification_email_body.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Hei,
55
Seuraava lasku holvissa on kirjanpitomme mukaan maksamatta
66

77
Kuvaus: {{ invoice.subject }}
8-
Eräpäivä: {{ invoice.due_date }}
8+
Eräpäivä: {{ invoice.due_date.isoformat }}
99
Viite: {{ invoice.rf_reference }}
1010
Summa: {{ invoice.due_sum }}{{ invoice.currency }}
1111

@@ -25,7 +25,7 @@ Hey,
2525
According to our bookkeeping in Holvi, the following invoice is unpaid
2626

2727
Description: {{ invoice.subject }}
28-
Due date: {{ invoice.due_date }}
28+
Due date: {{ invoice.due_date.isoformat }}
2929
Reference: {{ invoice.rf_reference }}
3030
Amount due: {{ invoice.due_sum }}{{ invoice.currency }}
3131

project/velkoja/templates/velkoja/preview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
{% block content %}
88
<div class="container-fluid">
9-
<p>{% trans "Subject" %}: {{ email.subject }}</p>
10-
<p><pre>{{ email.body }}</pre></p>
9+
<p>{% trans "Email subject" %}: <pre>{{ email.subject }}</pre></p>
10+
<p>{% trans "Email body" %}: <pre>{{ email.body }}</pre></p>
1111
</div>
1212
{% endblock content %}

0 commit comments

Comments
 (0)