From 4452405b152306d0eacd20417dad7c916d610c39 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 31 Jan 2022 08:06:41 +0100 Subject: [PATCH 01/12] # 71 Shortcut buttons enhanced * adds bootstrap class to prevent link style rendering * reorganizes templates for home view into separate quickstart templates --- konova/templates/konova/home.html | 116 +----------------- .../includes/quickstart/compensations.html | 37 ++++++ .../includes/quickstart/ecoaccounts.html | 42 +++++++ .../includes/quickstart/interventions.html | 37 ++++++ news/templates/news/dashboard-news.html | 2 +- 5 files changed, 120 insertions(+), 114 deletions(-) create mode 100644 konova/templates/konova/includes/quickstart/compensations.html create mode 100644 konova/templates/konova/includes/quickstart/ecoaccounts.html create mode 100644 konova/templates/konova/includes/quickstart/interventions.html diff --git a/konova/templates/konova/home.html b/konova/templates/konova/home.html index 533bbba3..d6499532 100644 --- a/konova/templates/konova/home.html +++ b/konova/templates/konova/home.html @@ -7,123 +7,13 @@
-

- {% trans 'Intervention' %} -

-
- -
-
- {% fa5_icon 'pencil-ruler' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_intervention_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_intervention_count|intcomma}}
-
-
-
- -
+ {% include 'konova/includes/quickstart/interventions.html' %}
-
-

- {% trans 'Compensation' %} -

-
- -
-
- {% fa5_icon 'leaf' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_compensation_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_compensation_count|intcomma}}
-
-
-
- -
+ {% include 'konova/includes/quickstart/compensations.html' %}
- -
-

- {% trans 'Eco-account' %} -

-
- -
-
- {% fa5_icon 'tree' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_eco_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_eco_count|intcomma}}
-
-
-
- -
-
+ {% include 'konova/includes/quickstart/ecoaccounts.html' %}
diff --git a/konova/templates/konova/includes/quickstart/compensations.html b/konova/templates/konova/includes/quickstart/compensations.html new file mode 100644 index 00000000..347bbef1 --- /dev/null +++ b/konova/templates/konova/includes/quickstart/compensations.html @@ -0,0 +1,37 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Compensation' %} +

+
+ +
+
+ {% fa5_icon 'leaf' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_compensation_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_compensation_count|intcomma}}
+
+
+
+
+ + +
+
\ No newline at end of file diff --git a/konova/templates/konova/includes/quickstart/ecoaccounts.html b/konova/templates/konova/includes/quickstart/ecoaccounts.html new file mode 100644 index 00000000..aa5cc68a --- /dev/null +++ b/konova/templates/konova/includes/quickstart/ecoaccounts.html @@ -0,0 +1,42 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Eco-account' %} +

+
+ +
+
+ {% fa5_icon 'tree' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_eco_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_eco_count|intcomma}}
+
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/konova/templates/konova/includes/quickstart/interventions.html b/konova/templates/konova/includes/quickstart/interventions.html new file mode 100644 index 00000000..965faeb6 --- /dev/null +++ b/konova/templates/konova/includes/quickstart/interventions.html @@ -0,0 +1,37 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Intervention' %} +

+
+ +
+
+ {% fa5_icon 'pencil-ruler' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_intervention_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_intervention_count|intcomma}}
+
+
+
+
+ + +
+
\ No newline at end of file diff --git a/news/templates/news/dashboard-news.html b/news/templates/news/dashboard-news.html index 6301e2cc..f6aa9c6d 100644 --- a/news/templates/news/dashboard-news.html +++ b/news/templates/news/dashboard-news.html @@ -17,7 +17,7 @@ {% endfor %}
- +
{% trans 'Older ...' %}
From 8979149e562990e876323ad45485b41feba127b1 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 31 Jan 2022 10:14:46 +0100 Subject: [PATCH 02/12] # 89 Ecoaccount recorded state reset (fix) * fixes bug where recorded state of eco account has been reset, if a deduction is created from the detail view of the ecoaccount itself --- compensation/models/compensation.py | 6 ++++-- intervention/forms/modalForms.py | 2 +- intervention/models/intervention.py | 7 +++++-- konova/models/object.py | 7 +++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/compensation/models/compensation.py b/compensation/models/compensation.py index 89d6dc2f..66035579 100644 --- a/compensation/models/compensation.py +++ b/compensation/models/compensation.py @@ -310,17 +310,19 @@ class Compensation(AbstractCompensation, CEFMixin, CoherenceMixin): ) return docs - def mark_as_edited(self, user: User, request: HttpRequest = None, edit_comment: str = None): + def mark_as_edited(self, user: User, request: HttpRequest = None, edit_comment: str = None, reset_recorded: bool = True): """ Performs internal logic for setting the recordedd/checked state of the related intervention Args: user (User): The performing user request (HttpRequest): The performing request + edit_comment (str): Additional comment for the log entry + reset_recorded (bool): Whether the record-state of the object should be reset Returns: """ - self.intervention.mark_as_edited(user, request, edit_comment) + self.intervention.mark_as_edited(user, request, edit_comment, reset_recorded) def is_ready_for_publish(self) -> bool: """ Not inherited by RecordableObjectMixin diff --git a/intervention/forms/modalForms.py b/intervention/forms/modalForms.py index 063a912a..06997235 100644 --- a/intervention/forms/modalForms.py +++ b/intervention/forms/modalForms.py @@ -370,7 +370,7 @@ class NewDeductionModalForm(BaseModalForm): def save(self): deduction = self.instance.add_deduction(self) - self.instance.mark_as_edited(self.user, self.request) + self.instance.mark_as_edited(self.user, self.request, reset_recorded=False) return deduction diff --git a/intervention/models/intervention.py b/intervention/models/intervention.py index d1a11e40..398c00fa 100644 --- a/intervention/models/intervention.py +++ b/intervention/models/intervention.py @@ -250,17 +250,20 @@ class Intervention(BaseObject, ShareableObjectMixin, RecordableObjectMixin, Chec ) return deduction - def mark_as_edited(self, performing_user: User, request: HttpRequest = None, edit_comment: str = None): + def mark_as_edited(self, performing_user: User, request: HttpRequest = None, edit_comment: str = None, reset_recorded: bool = True): """ In case the object or a related object changed, internal processes need to be started, such as unrecord and uncheck Args: performing_user (User): The user which performed the editing action + request (HttpRequest): The used request for this action + edit_comment (str): Additional comment for the log entry + reset_recorded (bool): Whether the record-state of the object should be reset Returns: """ - super().mark_as_edited(performing_user, request) + super().mark_as_edited(performing_user, request, edit_comment, reset_recorded) if self.checked: self.set_unchecked() diff --git a/konova/models/object.py b/konova/models/object.py index 78672b4e..723d0eb2 100644 --- a/konova/models/object.py +++ b/konova/models/object.py @@ -262,12 +262,15 @@ class RecordableObjectMixin(models.Model): return action - def mark_as_edited(self, performing_user: User, request: HttpRequest = None, edit_comment: str = None): + def mark_as_edited(self, performing_user: User, request: HttpRequest = None, edit_comment: str = None, reset_recorded: bool = True): """ In case the object or a related object changed, internal processes need to be started, such as unrecord and uncheck Args: performing_user (User): The user which performed the editing action + request (HttpRequest): The used request for this action + edit_comment (str): Additional comment for the log entry + reset_recorded (bool): Whether the record-state of the object should be reset Returns: @@ -277,7 +280,7 @@ class RecordableObjectMixin(models.Model): self.log.add(action) self.save() - if self.recorded: + if self.recorded and reset_recorded: action = self.set_unrecorded(performing_user) self.log.add(action) if request: From d0c6449c39505de9098ddc3cdd8bc17bf30944ff Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 31 Jan 2022 10:52:35 +0100 Subject: [PATCH 03/12] # 88 Additional biotope codes * adds codelist 975 to project * adds new form field for adding extra biotope information --- .../management/commands/update_codelist.py | 3 +- codelist/settings.py | 1 + compensation/forms/modalForms.py | 19 ++++++++++- konova/autocompletes.py | 33 ++++++++++++++++++- konova/static/css/konova.css | 3 ++ konova/urls.py | 3 +- 6 files changed, 58 insertions(+), 4 deletions(-) diff --git a/codelist/management/commands/update_codelist.py b/codelist/management/commands/update_codelist.py index 5bb55b6a..aa6e45a9 100644 --- a/codelist/management/commands/update_codelist.py +++ b/codelist/management/commands/update_codelist.py @@ -13,7 +13,7 @@ from codelist.models import KonovaCode, KonovaCodeList from codelist.settings import CODELIST_INTERVENTION_HANDLER_ID, CODELIST_CONSERVATION_OFFICE_ID, \ CODELIST_REGISTRATION_OFFICE_ID, CODELIST_BIOTOPES_ID, CODELIST_LAW_ID, CODELIST_COMPENSATION_HANDLER_ID, \ CODELIST_COMPENSATION_ACTION_ID, CODELIST_COMPENSATION_ACTION_CLASS_ID, CODELIST_COMPENSATION_ADDITIONAL_TYPE_ID, \ - CODELIST_BASE_URL, CODELIST_PROCESS_TYPE_ID + CODELIST_BASE_URL, CODELIST_PROCESS_TYPE_ID, CODELIST_BIOTOPES_EXTRA_CODES_ID from konova.management.commands.setup import BaseKonovaCommand from konova.settings import PROXIES @@ -33,6 +33,7 @@ class Command(BaseKonovaCommand): CODELIST_CONSERVATION_OFFICE_ID, CODELIST_REGISTRATION_OFFICE_ID, CODELIST_BIOTOPES_ID, + CODELIST_BIOTOPES_EXTRA_CODES_ID, CODELIST_LAW_ID, CODELIST_COMPENSATION_HANDLER_ID, CODELIST_COMPENSATION_ACTION_ID, diff --git a/codelist/settings.py b/codelist/settings.py index 15c523ac..012dc9b4 100644 --- a/codelist/settings.py +++ b/codelist/settings.py @@ -14,6 +14,7 @@ CODELIST_INTERVENTION_HANDLER_ID = 903 # CLMassnahmeträger CODELIST_CONSERVATION_OFFICE_ID = 907 # CLNaturschutzbehörden CODELIST_REGISTRATION_OFFICE_ID = 1053 # CLZulassungsbehörden CODELIST_BIOTOPES_ID = 974 # CL_EIV_Biotoptypen +CODELIST_BIOTOPES_EXTRA_CODES_ID = 975 # CLZusatzbezeichnung CODELIST_LAW_ID = 1048 # CLVerfahrensrecht CODELIST_PROCESS_TYPE_ID = 44382 # CLVerfahrenstyp diff --git a/compensation/forms/modalForms.py b/compensation/forms/modalForms.py index 885db951..53fdf3c2 100644 --- a/compensation/forms/modalForms.py +++ b/compensation/forms/modalForms.py @@ -14,7 +14,7 @@ from django.shortcuts import render from django.utils.translation import pgettext_lazy as _con, gettext_lazy as _ from codelist.models import KonovaCode -from codelist.settings import CODELIST_BIOTOPES_ID, CODELIST_COMPENSATION_ACTION_ID +from codelist.settings import CODELIST_BIOTOPES_ID, CODELIST_COMPENSATION_ACTION_ID, CODELIST_BIOTOPES_EXTRA_CODES_ID from compensation.models import CompensationDocument, EcoAccountDocument from konova.contexts import BaseContext from konova.forms import BaseModalForm, NewDocumentForm @@ -127,6 +127,23 @@ class NewStateModalForm(BaseModalForm): } ), ) + biotope_extra = forms.ModelChoiceField( + label=_("Biotope additional type"), + label_suffix="", + required=False, + help_text=_("Select an additional biotope type"), + queryset=KonovaCode.objects.filter( + is_archived=False, + is_leaf=True, + code_lists__in=[CODELIST_BIOTOPES_EXTRA_CODES_ID], + ), + widget=autocomplete.ModelSelect2Multiple( + url="codes-biotope-extra-type-autocomplete", + attrs={ + "data-placeholder": _("Biotope additional type"), + } + ), + ) surface = forms.DecimalField( min_value=0.00, decimal_places=2, diff --git a/konova/autocompletes.py b/konova/autocompletes.py index bee8dad8..cbe42b0c 100644 --- a/konova/autocompletes.py +++ b/konova/autocompletes.py @@ -11,7 +11,8 @@ from django.db.models import Q from codelist.models import KonovaCode from codelist.settings import CODELIST_COMPENSATION_ACTION_ID, CODELIST_BIOTOPES_ID, CODELIST_LAW_ID, \ - CODELIST_REGISTRATION_OFFICE_ID, CODELIST_CONSERVATION_OFFICE_ID, CODELIST_PROCESS_TYPE_ID + CODELIST_REGISTRATION_OFFICE_ID, CODELIST_CONSERVATION_OFFICE_ID, CODELIST_PROCESS_TYPE_ID, \ + CODELIST_BIOTOPES_EXTRA_CODES_ID from compensation.models import EcoAccount from intervention.models import Intervention @@ -192,6 +193,36 @@ class BiotopeCodeAutocomplete(KonovaCodeAutocomplete): return f"{result.long_name} ({result.short_name})" +class BiotopeExtraCodeAutocomplete(KonovaCodeAutocomplete): + """ + Due to limitations of the django dal package, we need to subclass for each code list + """ + group_by_related = "parent" + related_field_name = "long_name" + + def __init__(self, *args, **kwargs): + self.c = CODELIST_BIOTOPES_EXTRA_CODES_ID + super().__init__(*args, **kwargs) + + def order_by(self, qs): + """ Orders by a predefined value + + Wrapped in a function to provide inheritance-based different orders + + Args: + qs (QuerySet): The queryset to be ordered + + Returns: + qs (QuerySet): The ordered queryset + """ + return qs.order_by( + "parent__long_name", + ) + + def get_result_label(self, result): + return f"{result.long_name} ({result.short_name})" + + class LawCodeAutocomplete(KonovaCodeAutocomplete): """ Due to limitations of the django dal package, we need to subclass for each code list diff --git a/konova/static/css/konova.css b/konova/static/css/konova.css index 294287ea..a088cc30 100644 --- a/konova/static/css/konova.css +++ b/konova/static/css/konova.css @@ -229,4 +229,7 @@ No other approach worked to get the autocomplete fields to full width of parent } .select2-results__option--highlighted{ background-color: var(--rlp-red) !important; +} +.select2-container--default .select2-results > .select2-results__options{ + max-height: 500px !important; } \ No newline at end of file diff --git a/konova/urls.py b/konova/urls.py index 642b1445..96c716a8 100644 --- a/konova/urls.py +++ b/konova/urls.py @@ -20,7 +20,7 @@ from django.urls import path, include from konova.autocompletes import EcoAccountAutocomplete, \ InterventionAutocomplete, CompensationActionCodeAutocomplete, BiotopeCodeAutocomplete, LawCodeAutocomplete, \ RegistrationOfficeCodeAutocomplete, ConservationOfficeCodeAutocomplete, ProcessTypeCodeAutocomplete, \ - ShareUserAutocomplete + ShareUserAutocomplete, BiotopeExtraCodeAutocomplete from konova.settings import SSO_SERVER, SSO_PUBLIC_KEY, SSO_PRIVATE_KEY, DEBUG from konova.sso.sso import KonovaSSOClient from konova.views import logout_view, home_view, remove_deadline_view @@ -48,6 +48,7 @@ urlpatterns = [ path("atcmplt/interventions", InterventionAutocomplete.as_view(), name="interventions-autocomplete"), path("atcmplt/codes/comp/action", CompensationActionCodeAutocomplete.as_view(), name="codes-compensation-action-autocomplete"), path("atcmplt/codes/biotope", BiotopeCodeAutocomplete.as_view(), name="codes-biotope-autocomplete"), + path("atcmplt/codes/biotope/extra", BiotopeExtraCodeAutocomplete.as_view(), name="codes-biotope-extra-type-autocomplete"), path("atcmplt/codes/law", LawCodeAutocomplete.as_view(), name="codes-law-autocomplete"), path("atcmplt/codes/prc-type", ProcessTypeCodeAutocomplete.as_view(), name="codes-process-type-autocomplete"), path("atcmplt/codes/reg-off", RegistrationOfficeCodeAutocomplete.as_view(), name="codes-registration-office-autocomplete"), From 68eb773e43343df7e7e736fd78e85a380a99b7e9 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 31 Jan 2022 11:26:24 +0100 Subject: [PATCH 04/12] # 88 Extra biotope codes * adds additional biotope konovaCodes to CompensationState model * increases rpp for Autocompletion * adds/updates translations --- compensation/forms/modalForms.py | 2 +- compensation/models/compensation.py | 2 + compensation/models/state.py | 15 +++- konova/autocompletes.py | 2 + locale/de/LC_MESSAGES/django.mo | Bin 36202 -> 36407 bytes locale/de/LC_MESSAGES/django.po | 109 ++++++++++++++++------------ 6 files changed, 80 insertions(+), 50 deletions(-) diff --git a/compensation/forms/modalForms.py b/compensation/forms/modalForms.py index 53fdf3c2..c70d52a3 100644 --- a/compensation/forms/modalForms.py +++ b/compensation/forms/modalForms.py @@ -127,7 +127,7 @@ class NewStateModalForm(BaseModalForm): } ), ) - biotope_extra = forms.ModelChoiceField( + biotope_extra = forms.ModelMultipleChoiceField( label=_("Biotope additional type"), label_suffix="", required=False, diff --git a/compensation/models/compensation.py b/compensation/models/compensation.py index 66035579..46ea4520 100644 --- a/compensation/models/compensation.py +++ b/compensation/models/compensation.py @@ -114,6 +114,8 @@ class AbstractCompensation(BaseObject, GeoReferencedMixin): biotope_type=form_data["biotope_type"], surface=form_data["surface"], ) + state_additional_types = form_data["biotope_extra"] + state.biotope_extra_types.set(state_additional_types) if is_before_state: self.before_states.add(state) else: diff --git a/compensation/models/state.py b/compensation/models/state.py index 01aad147..a4b8fafb 100644 --- a/compensation/models/state.py +++ b/compensation/models/state.py @@ -8,7 +8,7 @@ Created on: 16.11.21 from django.db import models from codelist.models import KonovaCode -from codelist.settings import CODELIST_BIOTOPES_ID +from codelist.settings import CODELIST_BIOTOPES_ID, CODELIST_BIOTOPES_EXTRA_CODES_ID from compensation.managers import CompensationStateManager from konova.models import UuidModel @@ -26,7 +26,18 @@ class CompensationState(UuidModel): "code_lists__in": [CODELIST_BIOTOPES_ID], "is_selectable": True, "is_archived": False, - } + }, + related_name='+', + ) + biotope_extra_types = models.ManyToManyField( + KonovaCode, + blank=True, + limit_choices_to={ + "code_lists__in": [CODELIST_BIOTOPES_EXTRA_CODES_ID], + "is_selectable": True, + "is_archived": False, + }, + related_name='+', ) surface = models.FloatField() diff --git a/konova/autocompletes.py b/konova/autocompletes.py index cbe42b0c..a5d6ea66 100644 --- a/konova/autocompletes.py +++ b/konova/autocompletes.py @@ -95,6 +95,7 @@ class KonovaCodeAutocomplete(Select2GroupQuerySetView): * c: Search inside a special codelist """ + paginate_by = 50 def order_by(self, qs): """ Orders by a predefined value @@ -199,6 +200,7 @@ class BiotopeExtraCodeAutocomplete(KonovaCodeAutocomplete): """ group_by_related = "parent" related_field_name = "long_name" + paginate_by = 200 def __init__(self, *args, **kwargs): self.c = CODELIST_BIOTOPES_EXTRA_CODES_ID diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo index cb58ae7f8b439c804a3b076f7d39b7817f299f24..f93f41b81480d48317ed29762378762fe4593c75 100644 GIT binary patch delta 10665 zcmZYD3w+P@9>?+TMs{HrX6~0U8?(7zm)P8LP0S^^HVk7nZSJwZTNk;7TyrTQqM{Y0 zh)6neD@9UKp`?qXI;hU;{r`P-9vbsU!i zoU4SrBAlBa=-j+2s&#H(E$1RQw;z{KKAGU$W0+CfxtVws`(RF@bJ=(ZyJ3?g=Vs$< ztc)RboNJ0Tu>=mnQqK9@Xp%50^1TW-4~tP=hsALd>V{Ww0=|Rc*tD)^d(?HkFcu%O z`q@~T@)C^1%~%rOwDJ**pnZ3aB#IMPQ8&1H-h-pD48}}_>&1uL;+&qlO zbyj}}i%|Xq`OkgE9~xLleXqSpEJ6FO21yt;KsA_xWw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V5!Ts}ln|{YS*g691 z^8R{am@Ny;7RVG+Fo+1Fa4^pKqE&Fl<)|0l8TZQ_%$>2O#=)E!AJuQ~lkrQlkpUUQ YIu#1cm^Y}pf5sD64&RIyAJ)qLe~i|_4*&oF diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index 40c27fe3..2c57d8dd 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -5,7 +5,7 @@ # #: compensation/filters.py:122 compensation/forms/modalForms.py:34 #: compensation/forms/modalForms.py:45 compensation/forms/modalForms.py:61 -#: compensation/forms/modalForms.py:238 compensation/forms/modalForms.py:316 +#: compensation/forms/modalForms.py:255 compensation/forms/modalForms.py:333 #: intervention/forms/forms.py:52 intervention/forms/forms.py:154 #: intervention/forms/forms.py:166 intervention/forms/modalForms.py:125 #: intervention/forms/modalForms.py:138 intervention/forms/modalForms.py:151 @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-01-28 16:27+0100\n" +"POT-Creation-Date: 2022-01-31 10:52+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -95,7 +95,7 @@ msgstr "" #: analysis/templates/analysis/reports/includes/eco_account/amount.html:3 #: analysis/templates/analysis/reports/includes/intervention/amount.html:3 #: analysis/templates/analysis/reports/includes/old_data/amount.html:3 -#: compensation/forms/modalForms.py:299 +#: compensation/forms/modalForms.py:316 #: compensation/templates/compensation/detail/eco_account/includes/deductions.html:34 #: intervention/templates/intervention/detail/includes/deductions.html:31 msgid "Amount" @@ -177,8 +177,9 @@ msgstr "Einzelflächen" #: analysis/templates/analysis/reports/includes/intervention/laws.html:23 #: analysis/templates/analysis/reports/includes/intervention/laws.html:43 #: analysis/templates/analysis/reports/includes/old_data/amount.html:19 -#: konova/templates/konova/home.html:23 konova/templates/konova/home.html:61 -#: konova/templates/konova/home.html:100 +#: konova/templates/konova/includes/quickstart/compensations.html:16 +#: konova/templates/konova/includes/quickstart/ecoaccounts.html:16 +#: konova/templates/konova/includes/quickstart/interventions.html:16 msgid "Total" msgstr "Insgesamt" @@ -212,7 +213,7 @@ msgstr "Abbuchungen" #: analysis/templates/analysis/reports/includes/eco_account/deductions.html:9 #: analysis/templates/analysis/reports/includes/eco_account/deductions.html:11 -#: compensation/forms/modalForms.py:133 +#: compensation/forms/modalForms.py:150 #: compensation/templates/compensation/detail/compensation/includes/states-after.html:36 #: compensation/templates/compensation/detail/compensation/includes/states-before.html:36 #: compensation/templates/compensation/detail/eco_account/includes/states-after.html:36 @@ -240,7 +241,8 @@ msgstr "Kompensationsart" #: analysis/templates/analysis/reports/includes/old_data/amount.html:29 #: compensation/tables.py:85 #: compensation/templates/compensation/detail/compensation/view.html:19 -#: konova/templates/konova/home.html:49 templates/navbars/navbar.html:28 +#: konova/templates/konova/includes/quickstart/compensations.html:4 +#: templates/navbars/navbar.html:28 msgid "Compensation" msgstr "Kompensation" @@ -285,7 +287,8 @@ msgstr "Typ" #: intervention/forms/modalForms.py:306 intervention/forms/modalForms.py:313 #: intervention/tables.py:89 #: intervention/templates/intervention/detail/view.html:19 -#: konova/templates/konova/home.html:11 templates/navbars/navbar.html:22 +#: konova/templates/konova/includes/quickstart/interventions.html:4 +#: templates/navbars/navbar.html:22 msgid "Intervention" msgstr "Eingriff" @@ -293,7 +296,8 @@ msgstr "Eingriff" #: compensation/tables.py:226 #: compensation/templates/compensation/detail/eco_account/view.html:19 #: intervention/forms/modalForms.py:279 intervention/forms/modalForms.py:286 -#: konova/templates/konova/home.html:88 templates/navbars/navbar.html:34 +#: konova/templates/konova/includes/quickstart/ecoaccounts.html:4 +#: templates/navbars/navbar.html:34 msgid "Eco-account" msgstr "Ökokonto" @@ -350,7 +354,7 @@ msgid "Compensation XY; Location ABC" msgstr "Kompensation XY; Flur ABC" #: compensation/forms/forms.py:57 compensation/forms/modalForms.py:60 -#: compensation/forms/modalForms.py:237 compensation/forms/modalForms.py:315 +#: compensation/forms/modalForms.py:254 compensation/forms/modalForms.py:332 #: compensation/templates/compensation/detail/compensation/includes/actions.html:34 #: compensation/templates/compensation/detail/compensation/includes/deadlines.html:34 #: compensation/templates/compensation/detail/compensation/includes/documents.html:31 @@ -478,8 +482,8 @@ msgstr "Fällig am" msgid "Due on which date" msgstr "Zahlung wird an diesem Datum erwartet" -#: compensation/forms/modalForms.py:62 compensation/forms/modalForms.py:239 -#: compensation/forms/modalForms.py:317 intervention/forms/modalForms.py:152 +#: compensation/forms/modalForms.py:62 compensation/forms/modalForms.py:256 +#: compensation/forms/modalForms.py:334 intervention/forms/modalForms.py:152 #: konova/forms.py:375 msgid "Additional comment, maximum {} letters" msgstr "Zusätzlicher Kommentar, maximal {} Zeichen" @@ -500,31 +504,39 @@ msgstr "Biotoptyp" msgid "Select the biotope type" msgstr "Biotoptyp wählen" -#: compensation/forms/modalForms.py:136 intervention/forms/modalForms.py:297 +#: compensation/forms/modalForms.py:131 compensation/forms/modalForms.py:143 +msgid "Biotope additional type" +msgstr "Zusatzbezeichnung" + +#: compensation/forms/modalForms.py:134 +msgid "Select an additional biotope type" +msgstr "Zusatzbezeichnung wählen" + +#: compensation/forms/modalForms.py:153 intervention/forms/modalForms.py:297 msgid "in m²" msgstr "" -#: compensation/forms/modalForms.py:147 +#: compensation/forms/modalForms.py:164 msgid "New state" msgstr "Neuer Zustand" -#: compensation/forms/modalForms.py:148 +#: compensation/forms/modalForms.py:165 msgid "Insert data for the new state" msgstr "Geben Sie die Daten des neuen Zustandes ein" -#: compensation/forms/modalForms.py:155 konova/forms.py:190 +#: compensation/forms/modalForms.py:172 konova/forms.py:190 msgid "Object removed" msgstr "Objekt entfernt" -#: compensation/forms/modalForms.py:209 +#: compensation/forms/modalForms.py:226 msgid "Deadline Type" msgstr "Fristart" -#: compensation/forms/modalForms.py:212 +#: compensation/forms/modalForms.py:229 msgid "Select the deadline type" msgstr "Fristart wählen" -#: compensation/forms/modalForms.py:221 +#: compensation/forms/modalForms.py:238 #: compensation/templates/compensation/detail/compensation/includes/deadlines.html:31 #: compensation/templates/compensation/detail/eco_account/includes/deadlines.html:31 #: ema/templates/ema/detail/includes/deadlines.html:31 @@ -532,27 +544,27 @@ msgstr "Fristart wählen" msgid "Date" msgstr "Datum" -#: compensation/forms/modalForms.py:224 +#: compensation/forms/modalForms.py:241 msgid "Select date" msgstr "Datum wählen" -#: compensation/forms/modalForms.py:251 +#: compensation/forms/modalForms.py:268 msgid "New deadline" msgstr "Neue Frist" -#: compensation/forms/modalForms.py:252 +#: compensation/forms/modalForms.py:269 msgid "Insert data for the new deadline" msgstr "Geben Sie die Daten der neuen Frist ein" -#: compensation/forms/modalForms.py:270 +#: compensation/forms/modalForms.py:287 msgid "Action Type" msgstr "Maßnahmentyp" -#: compensation/forms/modalForms.py:273 +#: compensation/forms/modalForms.py:290 msgid "Select the action type" msgstr "Maßnahmentyp wählen" -#: compensation/forms/modalForms.py:282 +#: compensation/forms/modalForms.py:299 #: compensation/templates/compensation/detail/compensation/includes/actions.html:38 #: compensation/templates/compensation/detail/compensation/includes/deadlines.html:38 #: compensation/templates/compensation/detail/compensation/includes/documents.html:35 @@ -578,23 +590,23 @@ msgstr "Maßnahmentyp wählen" msgid "Action" msgstr "Aktionen" -#: compensation/forms/modalForms.py:287 +#: compensation/forms/modalForms.py:304 msgid "Unit" msgstr "Einheit" -#: compensation/forms/modalForms.py:290 +#: compensation/forms/modalForms.py:307 msgid "Select the unit" msgstr "Einheit wählen" -#: compensation/forms/modalForms.py:302 +#: compensation/forms/modalForms.py:319 msgid "Insert the amount" msgstr "Menge eingeben" -#: compensation/forms/modalForms.py:328 +#: compensation/forms/modalForms.py:345 msgid "New action" msgstr "Neue Maßnahme" -#: compensation/forms/modalForms.py:329 +#: compensation/forms/modalForms.py:346 msgid "Insert data for the new action" msgstr "Geben Sie die Daten der neuen Maßnahme ein" @@ -876,13 +888,13 @@ msgstr "Ist CEF Maßnahme" #: compensation/templates/compensation/detail/compensation/view.html:56 #: venv/lib/python3.7/site-packages/django/forms/widgets.py:710 msgid "Yes" -msgstr "" +msgstr "Ja" #: compensation/templates/compensation/detail/compensation/view.html:48 #: compensation/templates/compensation/detail/compensation/view.html:58 #: venv/lib/python3.7/site-packages/django/forms/widgets.py:711 msgid "No" -msgstr "" +msgstr "Nein" #: compensation/templates/compensation/detail/compensation/view.html:53 msgid "Is Coherence keeping compensation" @@ -1725,21 +1737,6 @@ msgstr "" msgid "English" msgstr "" -#: konova/templates/konova/home.html:27 konova/templates/konova/home.html:65 -#: konova/templates/konova/home.html:104 -msgid "Shared with you" -msgstr "Für Sie freigegeben" - -#: konova/templates/konova/home.html:35 konova/templates/konova/home.html:73 -#: konova/templates/konova/home.html:114 -msgid "Create" -msgstr "Neu" - -#: konova/templates/konova/home.html:40 konova/templates/konova/home.html:78 -#: konova/templates/konova/home.html:119 -msgid "Show" -msgstr "Anzeigen" - #: konova/templates/konova/includes/parcels.html:3 msgid "Spatial reference" msgstr "Raumreferenz" @@ -1764,6 +1761,24 @@ msgstr "Kreis" msgid "Gemarkung" msgstr "Gemarkung" +#: konova/templates/konova/includes/quickstart/compensations.html:20 +#: konova/templates/konova/includes/quickstart/ecoaccounts.html:20 +#: konova/templates/konova/includes/quickstart/interventions.html:20 +msgid "Shared with you" +msgstr "Für Sie freigegeben" + +#: konova/templates/konova/includes/quickstart/compensations.html:28 +#: konova/templates/konova/includes/quickstart/ecoaccounts.html:30 +#: konova/templates/konova/includes/quickstart/interventions.html:28 +msgid "Create" +msgstr "Neu" + +#: konova/templates/konova/includes/quickstart/compensations.html:33 +#: konova/templates/konova/includes/quickstart/ecoaccounts.html:35 +#: konova/templates/konova/includes/quickstart/interventions.html:33 +msgid "Show" +msgstr "Anzeigen" + #: konova/templates/konova/widgets/generate-content-input.html:6 msgid "Generate new" msgstr "Neu generieren" From 2439f37b6916ea76b9479fa483acde067b3020a0 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 31 Jan 2022 12:21:42 +0100 Subject: [PATCH 05/12] #88 Extra biotope codes templates * extends the detail view templates for all compensation related models to render extra CompensationState details as well * reduces number of landing page news from 4 to 3 * improves .card-text in favor of .scroll-150 * improves .card font size --- .../detail/compensation/includes/states-after.html | 14 ++++++++++++-- .../compensation/includes/states-before.html | 14 ++++++++++++-- .../detail/eco_account/includes/states-after.html | 14 ++++++++++++-- .../detail/eco_account/includes/states-before.html | 14 ++++++++++++-- .../ema/detail/includes/states-after.html | 14 ++++++++++++-- .../ema/detail/includes/states-before.html | 14 ++++++++++++-- konova/static/css/konova.css | 13 ++++++------- konova/templates/konova/includes/comment_card.html | 2 +- konova/views.py | 2 +- news/templates/news/dashboard-news.html | 2 +- news/templates/news/index.html | 2 +- 11 files changed, 82 insertions(+), 23 deletions(-) diff --git a/compensation/templates/compensation/detail/compensation/includes/states-after.html b/compensation/templates/compensation/detail/compensation/includes/states-after.html index f8dd00a4..3f0b4eef 100644 --- a/compensation/templates/compensation/detail/compensation/includes/states-after.html +++ b/compensation/templates/compensation/detail/compensation/includes/states-after.html @@ -29,9 +29,12 @@ - + @@ -48,8 +51,15 @@ + -
+ {% trans 'Biotope type' %} + {% trans 'Biotope additional type' %} + {% trans 'Surface' %} {{ state.biotope_type }} + {% for biotope_extra in state.biotope_extra_types.all %} +
+ {{ biotope_extra.long_name }} +
+ {% endfor %} +
{{ state.surface|floatformat:2 }} m² + {% if is_default_member and has_access %}