Skip to content

Commit 44912d3

Browse files
committed
Improved payment order confirmation page
1 parent 9a542b9 commit 44912d3

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

templates/PaymentOrder/confirm/confirm.html.twig

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
{% extends "main_card.html.twig" %}
22
{% set confirmation_nr = 1 %}
33

4+
{% block title %}Bestätigung {{ entity.iDString }}{% endblock %}
5+
6+
{% block card_type %}
7+
{% if entity.confirmed %}
8+
bg-success text-white
9+
{% else %}
10+
bg-primary text-white
11+
{% endif %}
12+
{% endblock %}
13+
14+
{% block card_border %}
15+
{% if entity.confirmed %}
16+
border-success
17+
{% else %}
18+
border-primary
19+
{% endif %}
20+
{% endblock %}
21+
422
{% block card_title %}<i class="fas fa-file-invoice-dollar fa-fw"></i>
5-
{% trans %}payment_order.confirm_title{% endtrans %}
6-
#{{ entity.id }}
7-
({% if confirmation_nr == 1 %}{% trans %}payment_order.confirm.step_1{% endtrans %}{% else %}{% trans %}payment_order.confirm.step_2{% endtrans %}{% endif %})
23+
Zahlungsauftrag
24+
{{ entity.iDString }}
25+
(<i>{% if entity.confirmed %}Bestätigt{% else %}Bestätigung {{ entity.numberOfConfirmations }} / {{ entity.requiredConfirmations }}{% endif %}</i>)
826
{% endblock %}
927

1028
{% block prefix_content%}

translations/messages.de.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ Geben Sie unten die Daten des Kontos an, von welchem das Geld überwiesen werden
15851585
<unit id="IX2p1z." name="payment_order.confirm.step_1">
15861586
<segment>
15871587
<source>payment_order.confirm.step_1</source>
1588-
<target>Haushaltsverantwortlicher / Bestätigung 1</target>
1588+
<target>Bestätigung 1</target>
15891589
</segment>
15901590
</unit>
15911591
<unit id="ojac6uH" name="payment_order.name.label">

0 commit comments

Comments
 (0)