Skip to content

Commit 6cce3d3

Browse files
committed
(renovate) reformat html files with djlint
1 parent c6eadd7 commit 6cce3d3

25 files changed

+210
-185
lines changed

docs/404.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
letter-spacing: -1px;
1717
}
1818
</style>
19-
2019
<div class="container">
21-
<h1>404</h1>
22-
23-
<p><strong>Page not found :(</strong></p>
24-
<p>The requested page could not be found.</p>
20+
<h1>404</h1>
21+
<p>
22+
<strong>Page not found :(</strong>
23+
</p>
24+
<p>The requested page could not be found.</p>
2525
</div>
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
{% extends "core/base.html" %}
2-
{% block content %}{% endblock content %}
2+
{% block content %}
3+
{% endblock content %}

tapir/coop/templates/coop/email/membershipresignation_confirmation_body.html

+78-82
Original file line numberDiff line numberDiff line change
@@ -8,89 +8,85 @@
88
schade, dass Du uns verlassen möchtest. Hiermit bestätigen wir Dir die Kündigung deiner Mitgliedschaft bei SuperCoop Berlin eG.
99
</p>
1010
{% if resigned_member.resignation_type == resignation_type_gift_to_coop %}
11-
<p>
12-
Wie in deinem Kündigungsschreiben angegeben, möchtest Du deine Anteile an SuperCoop übertragen. Somit ist deine Kündigung
13-
ab sofort gültig.
14-
</p>
15-
{% elif resigned_member.resignation_type == resignation_type_transfer %}
16-
<p>
17-
Wie in deinem Kündigungsschreiben angegeben, möchtest Du deine Anteile an ein anderes Mitglied übertragen.
18-
Wir haben {% get_display_name_full resigned_member.transferring_shares_to %} darüber gesondert informiert.
19-
Deine Kündigung ist ab sofort gültig.
20-
</p>
21-
{% else %}
22-
<p>
23-
Da Du in deinem Kündigungsschreiben angegeben hast, dass Du deine Anteile wieder zurückerstattet haben möchtest,
24-
läuft deine Mitgliedschaft bis zum Ablauf der in unserer Satzung angegebenen regulären Kündigungsfrist, d.h.
25-
bis zum Abschluss des Geschäftsjahres in drei Jahren. <br> Bitte beachte dazu den in unserer Satzung angegebenen Passus
26-
unter §4 Beendigung der Mitgliedschaft, Übertragung des Geschäftsguthabens, Tod und Ausschluss.<br>
27-
Vorsorglich ist an diese Mail die Satzung angehängt.
28-
</p>
29-
<p>
30-
<b>
31-
Da deine Mitgliedschaft im Falle der regulären Kündigungsfrist und damit einhergehenden Auseinandersetzung (siehe Satzung)
32-
über drei Jahre weiterläuft und auch in Tapir weiterhin als "aktiv" eingetragen ist, möchten wir dich an dieser Stelle
33-
darauf hinweisen, dass Du innerhalb der nächsten drei Jahre auch weiterhin Schichten absolvieren kannst und
34-
damit auch dein Einkaufsrecht weiterhin behältst. Solltest Du keine Schichten mehr absolvieren und auch nicht
35-
mehr in der Supercoop einkaufen wollen, möchten wir dich bitten, beim Mitgliederbüro
36-
({{ contact_email_address }}) zu beantragen, dass deine Mitgliedschaft
37-
auf "investierend" umgestellt wird.
38-
</b>
39-
</p>
40-
<p>
41-
Damit wird verhindert, dass dein Schichtstatus ins Minus gerät und Du in Zukunft Emails mit Warnungen von uns erhältst.
42-
</p>
43-
{% endif %}
44-
<p>
45-
Wir wünschen Dir alles Gute für die Zukunft und zögere bitte nicht, wenn Du noch weitere Fragen hast,
46-
das Mitgliederbüro ({{ contact_email_address }}) zu kontaktieren.
47-
<p>
48-
Kooperative Grüße,
49-
</p>
50-
<p>
51-
Eugénie, Johanna und Marie für das SuperCoop Team
52-
</p>
53-
<hr>
54-
<p>Dear {% get_display_name_short share_owner %},</p>
55-
<p>
56-
what a pity that you want to leave us. We hereby confirm the cancellation of your membership with SuperCoop Berlin eG. <br>
57-
</p>
58-
{% if resigned_member.resignation_type == resignation_type_gift_to_coop %}
59-
<p>
60-
As you stated in your letter of cancellation that you want to transfer your shares to SuperCoop,
61-
your termination is effective immediately.
62-
</p>
11+
<p>
12+
Wie in deinem Kündigungsschreiben angegeben, möchtest Du deine Anteile an SuperCoop übertragen. Somit ist deine Kündigung
13+
ab sofort gültig.
14+
</p>
6315
{% elif resigned_member.resignation_type == resignation_type_transfer %}
64-
<p>
65-
You stated in your letter of cancellation that you want to transfer your shares to another member. We've informed
66-
{% get_display_name_full resigned_member.transferring_shares_to %} about this separately.
67-
Your termination is effective immediately.
68-
</p>
16+
<p>
17+
Wie in deinem Kündigungsschreiben angegeben, möchtest Du deine Anteile an ein anderes Mitglied übertragen.
18+
Wir haben {% get_display_name_full resigned_member.transferring_shares_to %} darüber gesondert informiert.
19+
Deine Kündigung ist ab sofort gültig.
20+
</p>
6921
{% else %}
70-
<p>
71-
Otherwise, your membership will run until the end of the regular cancellation period specified in our Articles of Association, i.e.
72-
until the end of the financial year in three years. Please note the passage stated in our Articles of Association
73-
under <b>§4 Termination of membership, transfer of business assets, death and exclusion</b>.
74-
As a precaution, the articles of association are attached to this e-mail.
75-
</p>
76-
<p>
77-
<b>As your membership will continue to run as normal for the next three years and is still entered as "active" in Tapir,
78-
we would like to take this opportunity to point out that you can continue to complete shifts in the next three years
79-
and therefore retain your right to shop. If you no longer wish to complete shifts or shop in Supercoop, we would ask you to apply to
80-
the member-office ({{ contact_email_address }}) to switch your membership to "investing"</b>.
81-
</p>
82-
<p>
83-
This will prevent your shift backlog from going into the red and you from receiving emails with warnings from us in the future.
84-
</p>
22+
<p>
23+
Da Du in deinem Kündigungsschreiben angegeben hast, dass Du deine Anteile wieder zurückerstattet haben möchtest,
24+
läuft deine Mitgliedschaft bis zum Ablauf der in unserer Satzung angegebenen regulären Kündigungsfrist, d.h.
25+
bis zum Abschluss des Geschäftsjahres in drei Jahren.
26+
<br>
27+
Bitte beachte dazu den in unserer Satzung angegebenen Passus
28+
unter §4 Beendigung der Mitgliedschaft, Übertragung des Geschäftsguthabens, Tod und Ausschluss.
29+
<br>
30+
Vorsorglich ist an diese Mail die Satzung angehängt.
31+
</p>
32+
<p>
33+
<b>
34+
Da deine Mitgliedschaft im Falle der regulären Kündigungsfrist und damit einhergehenden Auseinandersetzung (siehe Satzung)
35+
über drei Jahre weiterläuft und auch in Tapir weiterhin als "aktiv" eingetragen ist, möchten wir dich an dieser Stelle
36+
darauf hinweisen, dass Du innerhalb der nächsten drei Jahre auch weiterhin Schichten absolvieren kannst und
37+
damit auch dein Einkaufsrecht weiterhin behältst. Solltest Du keine Schichten mehr absolvieren und auch nicht
38+
mehr in der Supercoop einkaufen wollen, möchten wir dich bitten, beim Mitgliederbüro
39+
({{ contact_email_address }}) zu beantragen, dass deine Mitgliedschaft
40+
auf "investierend" umgestellt wird.
41+
</b>
42+
</p>
43+
<p>
44+
Damit wird verhindert, dass dein Schichtstatus ins Minus gerät und Du in Zukunft Emails mit Warnungen von uns erhältst.
45+
</p>
8546
{% endif %}
8647
<p>
87-
We wish you all the best for the future and please do not hesitate to contact the member-office
88-
({{ contact_email_address }}) if you have any further questions.
89-
</p>
90-
<p>
91-
Cooperative greetings
92-
</p>
93-
<p>
94-
Eugénie, Johanna und Marie for the SuperCoop Team
95-
</p>
96-
{% endblock body %}
48+
Wir wünschen Dir alles Gute für die Zukunft und zögere bitte nicht, wenn Du noch weitere Fragen hast,
49+
das Mitgliederbüro ({{ contact_email_address }}) zu kontaktieren.
50+
<p>Kooperative Grüße,</p>
51+
<p>Eugénie, Johanna und Marie für das SuperCoop Team</p>
52+
<hr>
53+
<p>Dear {% get_display_name_short share_owner %},</p>
54+
<p>
55+
what a pity that you want to leave us. We hereby confirm the cancellation of your membership with SuperCoop Berlin eG.
56+
<br>
57+
</p>
58+
{% if resigned_member.resignation_type == resignation_type_gift_to_coop %}
59+
<p>
60+
As you stated in your letter of cancellation that you want to transfer your shares to SuperCoop,
61+
your termination is effective immediately.
62+
</p>
63+
{% elif resigned_member.resignation_type == resignation_type_transfer %}
64+
<p>
65+
You stated in your letter of cancellation that you want to transfer your shares to another member. We've informed
66+
{% get_display_name_full resigned_member.transferring_shares_to %} about this separately.
67+
Your termination is effective immediately.
68+
</p>
69+
{% else %}
70+
<p>
71+
Otherwise, your membership will run until the end of the regular cancellation period specified in our Articles of Association, i.e.
72+
until the end of the financial year in three years. Please note the passage stated in our Articles of Association
73+
under <b>§4 Termination of membership, transfer of business assets, death and exclusion</b>.
74+
As a precaution, the articles of association are attached to this e-mail.
75+
</p>
76+
<p>
77+
<b>As your membership will continue to run as normal for the next three years and is still entered as "active" in Tapir,
78+
we would like to take this opportunity to point out that you can continue to complete shifts in the next three years
79+
and therefore retain your right to shop. If you no longer wish to complete shifts or shop in Supercoop, we would ask you to apply to
80+
the member-office ({{ contact_email_address }}) to switch your membership to "investing"</b>.
81+
</p>
82+
<p>
83+
This will prevent your shift backlog from going into the red and you from receiving emails with warnings from us in the future.
84+
</p>
85+
{% endif %}
86+
<p>
87+
We wish you all the best for the future and please do not hesitate to contact the member-office
88+
({{ contact_email_address }}) if you have any further questions.
89+
</p>
90+
<p>Cooperative greetings</p>
91+
<p>Eugénie, Johanna und Marie for the SuperCoop Team</p>
92+
{% endblock body %}

tapir/coop/templates/coop/email/membershipresignation_transferred_shares_confirmation_body.html

+19-29
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,29 @@
33
{% load utils %}
44
{% block body %}
55
(English below)
6+
<p>Liebe*r {% get_display_name_short receiving_member %},</p>
67
<p>
7-
Liebe*r {% get_display_name_short receiving_member %},
8-
</p>
9-
<p>
10-
Gute Nachrichten für Dich und leider schlechte für uns! <br>
8+
Gute Nachrichten für Dich und leider schlechte für uns!
9+
<br>
1110
{% get_display_name_full resigned_member %} hat seine Mitgliedschaft bei SuperCoop Berlin eG gekündigt
12-
und Dir ihr(e) / sein(e) Anteil(e) vermacht. Wundere dich nicht, wenn in deinem Tapir-Konto
13-
plötzlich weitere Anteile vermerkt sind. Sollte dies ohne Deine Zustimmung
14-
vonstatten gegangen sein, kannst Du dich an das Mitgliederbüro
15-
({{ contact_email_address }}) wenden.
16-
</p>
17-
<p>
18-
Kooperative Grüße,
19-
</p>
20-
<p>
21-
Der Vorstand von SuperCoop Berlin eG
11+
und Dir ihr(e) / sein(e) Anteil(e) vermacht. Wundere dich nicht, wenn in deinem Tapir-Konto
12+
plötzlich weitere Anteile vermerkt sind. Sollte dies ohne Deine Zustimmung
13+
vonstatten gegangen sein, kannst Du dich an das Mitgliederbüro
14+
({{ contact_email_address }}) wenden.
2215
</p>
16+
<p>Kooperative Grüße,</p>
17+
<p>Der Vorstand von SuperCoop Berlin eG</p>
2318
<hr>
24-
<p>
25-
Dear {% get_display_name_short receiving_member %},
26-
</p>
27-
<p>
28-
Good news for you and unfortunately bad news for us! <br>
29-
{% get_display_name_full resigned_member %} has cancelled his membership
30-
of SuperCoop Berlin eG and bequeathed her/his share(s) to you.
31-
Don't be surprised if you suddenly see more shares in your Tapir account.
32-
If this was done without your consent you can contact the member-office
19+
<p>Dear {% get_display_name_short receiving_member %},</p>
20+
<p>
21+
Good news for you and unfortunately bad news for us!
22+
<br>
23+
{% get_display_name_full resigned_member %} has cancelled his membership
24+
of SuperCoop Berlin eG and bequeathed her/his share(s) to you.
25+
Don't be surprised if you suddenly see more shares in your Tapir account.
26+
If this was done without your consent you can contact the member-office
3327
({{ contact_email_address }}).
3428
</p>
35-
<p>
36-
Cooperative greetings,
37-
</p>
38-
<p>
39-
Executive board of SuperCoop Berlin eG
40-
</p>
29+
<p>Cooperative greetings,</p>
30+
<p>Executive board of SuperCoop Berlin eG</p>
4131
{% endblock body %}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% load i18n %}
22
{% blocktranslate with member=entry.values.share_owner cancellation_reason=entry.values.cancellation_reason %}
33
Member resigned for reason: {{ cancellation_reason }}
4-
{% endblocktranslate %}
4+
{% endblocktranslate %}

tapir/coop/templates/coop/log/update_resignmember_log_entry.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
{% for change in changes %}
55
<strong>{{ change.0 }}</strong>: {{ change.1 }} → {{ change.2 }}
66
<br />
7-
{% endfor %}
7+
{% endfor %}

tapir/coop/templates/coop/member_management.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ <h5 class="card-header">{% translate "Lists" %}</h5>
3333
{% if membership_resignation_enabled %}
3434
<a class="{% tapir_button_link %}"
3535
href="{% url 'coop:resigned_members_list' %}">
36-
<span class="material-icons button-icon">close</span>{% translate 'Resigned members' %}
37-
{% endif %}
36+
<span class="material-icons button-icon">close</span>{% translate 'Resigned members' %}
37+
{% endif %}
3838
</a>
3939
</div>
4040
</div>

tapir/coop/templates/coop/membership_resignation_list.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% block content %}
1919
<div class="card mb-2">
2020
<div class="card-header d-flex justify-content-between align-items-center">
21-
<h5>{% translate "List of resigned members" %} ({{ total_of_resigned_members }}) </h5>
21+
<h5>{% translate "List of resigned members" %} ({{ total_of_resigned_members }})</h5>
2222
<div>
2323
<div class="btn-group">
2424
<button type="button"
@@ -48,10 +48,10 @@ <h5>{% translate "List of resigned members" %} ({{ total_of_resigned_members }})
4848
<span class="material-icons">filter_alt</span>{% translate 'Filter' %}
4949
</button>
5050
<a class="{% tapir_button_link %}"
51-
href="{% url 'coop:resigned_members_list' %}">
52-
<span class="material-icons">clear</span>
53-
{% translate "Clear all filters" %}
54-
</a>
51+
href="{% url 'coop:resigned_members_list' %}">
52+
<span class="material-icons">clear</span>
53+
{% translate "Clear all filters" %}
54+
</a>
5555
</div>
5656
</div>
5757
</form>

tapir/coop/templates/coop/membershipresignation_detail.html

+19-15
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@
1717
<div class="modal-content">
1818
<div class="modal-header">
1919
<h5 class="modal-title">Attention!</h5>
20-
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
21-
<span aria-hidden="true">&times;</span>
20+
<button type="button"
21+
class="close"
22+
data-bs-dismiss="modal"
23+
aria-label="Close">
24+
<span aria-hidden="true">×;</span>
2225
</button>
2326
</div>
24-
<p class="m-2"><strong>Are you sure you want to
25-
remove {{ object.share_owner.user.first_name }} {{ object.share_owner.user.last_name }} from the
26-
resigned members list and to reactivate the member? This cannot be undone!</strong></p>
27+
<p class="m-2">
28+
<strong>Are you sure you want to
29+
remove {{ object.share_owner.user.first_name }} {{ object.share_owner.user.last_name }} from the
30+
resigned members list and to reactivate the member? This cannot be undone!</strong>
31+
</p>
2732
<div class="modal-footer">
2833
<form class="form-inline ms-3"
2934
method="post"
@@ -40,28 +45,27 @@ <h5 class="modal-title">Attention!</h5>
4045
</div>
4146
<div class="container">
4247
<div class="card mb-2">
43-
<h5 class="card-header">{% translate "Resigned member" %}: {% get_display_name_for_viewer object.share_owner request.user %}</h5>
48+
<h5 class="card-header">
49+
{% translate "Resigned member" %}: {% get_display_name_for_viewer object.share_owner request.user %}
50+
</h5>
4451
<div class="card-body" id="resignedmember_detail_card">
4552
<div class="row m-1">
4653
<div class="col-3 fw-bold text-end">{% translate "Share owner" %}:</div>
47-
<div class="col-9"
48-
id="membership_resignation_share_owner">{% get_display_name_for_viewer object.share_owner request.user %}</div>
54+
<div class="col-9" id="membership_resignation_share_owner">
55+
{% get_display_name_for_viewer object.share_owner request.user %}
56+
</div>
4957
</div>
5058
<div class="row m-1">
5159
<div class="col-3 fw-bold text-end">{% translate "Cancellation reason" %}:</div>
52-
<div class="col-9"
53-
id="membership_resignation_cancellation_reason">{{ object.cancellation_reason }}</div>
60+
<div class="col-9" id="membership_resignation_cancellation_reason">{{ object.cancellation_reason }}</div>
5461
</div>
5562
<div class="row m-1">
5663
<div class="col-3 fw-bold text-end">{% translate "Cancellation date" %}:</div>
57-
<div class="col-9"
58-
id="membership_resignation_cancellation_date">{{ object.cancellation_date|date:"d.m.Y" }}</div>
64+
<div class="col-9" id="membership_resignation_cancellation_date">{{ object.cancellation_date|date:"d.m.Y" }}</div>
5965
</div>
6066
<div class="row m-1">
6167
<div class="col-3 fw-bold text-end">{% translate "Resignation type" %}:</div>
62-
<div class="col-9" id="resignation_type">
63-
{{ object.get_resignation_type_display }}
64-
</div>
68+
<div class="col-9" id="resignation_type">{{ object.get_resignation_type_display }}</div>
6569
</div>
6670
<div class="row m-1">
6771
<div class="col-3 fw-bold text-end">{% translate "Paid out" %}:</div>

tapir/coop/templates/coop/tags/user_coop_share_ownership_list_tag.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ <h5 class="card-header d-flex justify-content-between align-items-center">
185185
<span class="material-icons">send</span>{% translate 'Send membership confirmation email' %}
186186
</button>
187187
</form>
188+
{% endif %}
189+
{% else %}
190+
{% translate "User is not a cooperative member." %}
188191
{% endif %}
189-
{% else %}
190-
{% translate "User is not a cooperative member." %}
191-
{% endif %}
192+
</div>
192193
</div>
193-
</div>

0 commit comments

Comments
 (0)