From bd2413d63ce05eb0423789f8a7b1196daeb5c015 Mon Sep 17 00:00:00 2001 From: mipel Date: Tue, 10 Aug 2021 14:15:42 +0200 Subject: [PATCH] EcoAccount detail view * adds record control button * adds html markup for invalid withdraws (unrecorded account) * adds constraint to is_valid() method of NewWithdrawForm for checking whether the selected account for a withdraw is recorded or not * adds/updates translations --- .../detail/eco_account/includes/controls.html | 7 + .../eco_account/includes/withdraws.html | 5 +- intervention/forms.py | 10 +- .../detail/includes/withdraws.html | 4 +- locale/de/LC_MESSAGES/django.mo | Bin 17022 -> 17140 bytes locale/de/LC_MESSAGES/django.po | 224 +++++++++--------- 6 files changed, 139 insertions(+), 111 deletions(-) diff --git a/compensation/templates/compensation/detail/eco_account/includes/controls.html b/compensation/templates/compensation/detail/eco_account/includes/controls.html index 9b65a196..b09e3554 100644 --- a/compensation/templates/compensation/detail/eco_account/includes/controls.html +++ b/compensation/templates/compensation/detail/eco_account/includes/controls.html @@ -12,6 +12,13 @@ {% if has_access %} + {% if is_ets_member %} + + + + {% endif %} {% if is_default_member %}