- {{parcel.district.krs|default_if_none:"-"}} |
- {{parcel.gmrkng|default_if_none:"-"}} |
- {{parcel.flr|default_if_none:"-"}} |
- {{parcel.flrstck_zhlr|default_if_none:"-"}} |
- {{parcel.flrstck_nnr|default_if_none:"-"}} |
+ {{parcel.parcel_group.name|default_if_none:"-"}} |
+ {{parcel.parcel_group.key|default_if_none:"-"}} |
+ {{parcel.flr|default_if_none:"-"|unlocalize}} |
+ {{parcel.flrstck_zhlr|default_if_none:"-"|unlocalize}} |
+ {{parcel.flrstck_nnr|default_if_none:"-"|unlocalize}} |
{% endfor %}
diff --git a/konova/templates/konova/includes/parcels.html b/konova/templates/konova/includes/parcels.html
index 952fde11..30feda43 100644
--- a/konova/templates/konova/includes/parcels.html
+++ b/konova/templates/konova/includes/parcels.html
@@ -8,7 +8,7 @@
-
+
diff --git a/konova/views.py b/konova/views.py
index db967e85..2fd5ff91 100644
--- a/konova/views.py
+++ b/konova/views.py
@@ -17,7 +17,7 @@ from compensation.models import Compensation, EcoAccount
from intervention.models import Intervention
from konova.contexts import BaseContext
from konova.decorators import any_group_check
-from konova.models import Deadline, Geometry
+from konova.models import Deadline, Geometry, Municipal
from konova.sub_settings.context_settings import TAB_TITLE_IDENTIFIER
from news.models import ServerMessage
from konova.settings import SSO_SERVER_BASE
@@ -130,8 +130,12 @@ def get_geom_parcels(request: HttpRequest, id: str):
status_code = 200
if parcels_available or no_geometry_given:
+ parcels = parcels.order_by("-municipal", "flr", "flrstck_zhlr", "flrstck_nnr")
+ municipals = parcels.order_by("municipal").distinct("municipal").values("municipal__id")
+ municipals = Municipal.objects.filter(id__in=municipals)
context = {
"parcels": parcels,
+ "municipals": municipals,
}
html = render_to_string(template, context, request)
return HttpResponse(html, status=status_code)
diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo
index b3bf61fd..6459128e 100644
Binary files a/locale/de/LC_MESSAGES/django.mo and b/locale/de/LC_MESSAGES/django.mo differ
diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po
index e8786ab9..1cb4871a 100644
--- a/locale/de/LC_MESSAGES/django.po
+++ b/locale/de/LC_MESSAGES/django.po
@@ -15,9 +15,9 @@
#: konova/filters/mixins.py:107 konova/filters/mixins.py:108
#: konova/filters/mixins.py:120 konova/filters/mixins.py:121
#: konova/filters/mixins.py:134 konova/filters/mixins.py:135
-#: konova/filters/mixins.py:270 konova/filters/mixins.py:316
-#: konova/filters/mixins.py:354 konova/filters/mixins.py:355
-#: konova/filters/mixins.py:386 konova/filters/mixins.py:387
+#: konova/filters/mixins.py:277 konova/filters/mixins.py:323
+#: konova/filters/mixins.py:361 konova/filters/mixins.py:362
+#: konova/filters/mixins.py:393 konova/filters/mixins.py:394
#: konova/forms.py:143 konova/forms.py:244 konova/forms.py:315
#: konova/forms.py:359 konova/forms.py:369 konova/forms.py:382
#: konova/forms.py:394 konova/forms.py:412 user/forms.py:42
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-03-03 12:08+0100\n"
+"POT-Creation-Date: 2022-04-12 10:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME
\n"
"Language-Team: LANGUAGE \n"
@@ -52,7 +52,7 @@ msgstr "Bis"
#: intervention/forms/forms.py:102
#: intervention/templates/intervention/detail/view.html:56
#: intervention/templates/intervention/report/report.html:37
-#: intervention/utils/quality.py:49 konova/filters/mixins.py:396
+#: intervention/utils/quality.py:49 konova/filters/mixins.py:403
msgid "Conservation office"
msgstr "Eintragungsstelle"
@@ -1016,10 +1016,10 @@ msgstr "Verzeichnet am"
msgid "Last modified"
msgstr "Zuletzt bearbeitet"
-#: compensation/templates/compensation/detail/compensation/view.html:100
-#: compensation/templates/compensation/detail/eco_account/view.html:83
-#: ema/templates/ema/detail/view.html:76
-#: intervention/templates/intervention/detail/view.html:116
+#: compensation/templates/compensation/detail/compensation/view.html:106
+#: compensation/templates/compensation/detail/eco_account/view.html:89
+#: ema/templates/ema/detail/view.html:75
+#: intervention/templates/intervention/detail/view.html:122
msgid "Shared with"
msgstr "Freigegeben für"
@@ -1286,7 +1286,7 @@ msgstr "Mehrfachauswahl möglich"
#: intervention/forms/forms.py:86
#: intervention/templates/intervention/detail/view.html:48
#: intervention/templates/intervention/report/report.html:29
-#: intervention/utils/quality.py:46 konova/filters/mixins.py:364
+#: intervention/utils/quality.py:46 konova/filters/mixins.py:371
msgid "Registration office"
msgstr "Zulassungsbehörde"
@@ -1588,6 +1588,7 @@ msgid "Search for file number"
msgstr "Nach Aktenzeichen suchen"
#: konova/filters/mixins.py:85
+#: konova/templates/konova/includes/parcel_table.html:13
msgid "District"
msgstr "Kreis"
@@ -1600,7 +1601,7 @@ msgid "Search for parcel gmrkng"
msgstr "Nach Gemarkung suchen"
#: konova/filters/mixins.py:111
-#: konova/templates/konova/includes/parcel_table.html:13
+#: konova/templates/konova/includes/parcel_table.html:34
msgid "Parcel"
msgstr "Flur"
@@ -1609,7 +1610,7 @@ msgid "Search for parcel"
msgstr "Nach Flur suchen"
#: konova/filters/mixins.py:124
-#: konova/templates/konova/includes/parcel_table.html:14
+#: konova/templates/konova/includes/parcel_table.html:35
msgid "Parcel counter"
msgstr "Flurstückzähler"
@@ -1618,7 +1619,7 @@ msgid "Search for parcel counter"
msgstr "Nach Flurstückzähler suchen"
#: konova/filters/mixins.py:138
-#: konova/templates/konova/includes/parcel_table.html:15
+#: konova/templates/konova/includes/parcel_table.html:36
msgid "Parcel number"
msgstr "Flurstücknenner"
@@ -1626,19 +1627,19 @@ msgstr "Flurstücknenner"
msgid "Search for parcel number"
msgstr "Nach Flurstücknenner suchen"
-#: konova/filters/mixins.py:269
+#: konova/filters/mixins.py:276
msgid "Show unshared"
msgstr "Nicht freigegebene anzeigen"
-#: konova/filters/mixins.py:315
+#: konova/filters/mixins.py:322
msgid "Show recorded"
msgstr "Verzeichnete anzeigen"
-#: konova/filters/mixins.py:365
+#: konova/filters/mixins.py:372
msgid "Search for registration office"
msgstr "Nach Zulassungsbehörde suchen"
-#: konova/filters/mixins.py:397
+#: konova/filters/mixins.py:404
msgid "Search for conservation office"
msgstr "Nch Eintragungsstelle suchen"
@@ -1745,11 +1746,11 @@ msgstr "Kontrolle am"
msgid "Other"
msgstr "Sonstige"
-#: konova/sub_settings/django_settings.py:159
+#: konova/sub_settings/django_settings.py:160
msgid "German"
msgstr ""
-#: konova/sub_settings/django_settings.py:160
+#: konova/sub_settings/django_settings.py:161
msgid "English"
msgstr ""
@@ -1760,21 +1761,29 @@ msgstr ""
"wurde."
#: konova/templates/konova/includes/parcel_table.html:11
-msgid "Kreis"
-msgstr "Kreis"
+msgid "Municipal"
+msgstr "Gemeinde"
#: konova/templates/konova/includes/parcel_table.html:12
-msgid "Gemarkung"
+msgid "Municipal key"
+msgstr "Gemeindeschlüssel"
+
+#: konova/templates/konova/includes/parcel_table.html:14
+msgid "District key"
+msgstr "Kreisschlüssel"
+
+#: konova/templates/konova/includes/parcel_table.html:32
+msgid "Parcel group"
msgstr "Gemarkung"
+#: konova/templates/konova/includes/parcel_table.html:33
+msgid "Parcel group key"
+msgstr "Gemarkungsschlüssel"
+
#: konova/templates/konova/includes/parcels.html:7
msgid "Spatial reference"
msgstr "Raumreferenz"
-#: konova/templates/konova/includes/parcels.html:11
-msgid "Loading..."
-msgstr "Lade..."
-
#: konova/templates/konova/includes/quickstart/compensations.html:20
#: konova/templates/konova/includes/quickstart/ecoaccounts.html:20
#: konova/templates/konova/includes/quickstart/interventions.html:20
@@ -2435,12 +2444,15 @@ msgstr "Daten nicht veröffentlicht"
msgid ""
"\n"
" The data you want to see is not recorded and might still be work "
-"in progress. Please come back another time.\n"
+"in progress or the legal binding date has\n"
+" not been reached yet. We can not publish this report as long as "
+"revocations could occur.\n"
+" Please come back later.\n"
" "
msgstr ""
"\n"
-" Diese Daten sind noch nicht veröffentlicht und können daher "
-"aktuell nicht eingesehen werden. Schauen Sie zu einem späteren Zeitpunkt "
+" Diese Daten sind noch nicht veröffentlicht und/oder haben das Bestandskraftdatum noch nicht erreicht. "
+"Sie können daher aktuell nicht eingesehen werden. Schauen Sie zu einem späteren Zeitpunkt "
"wieder vorbei. \n"
" "
@@ -2606,22 +2618,22 @@ msgid "Notification settings"
msgstr "Benachrichtigungen"
#: user/templates/user/index.html:58
-msgid "See or edit your API token"
-msgstr "API token einsehen oder neu generieren"
-
-#: user/templates/user/index.html:61
-msgid "API"
-msgstr ""
-
-#: user/templates/user/index.html:66
msgid "Manage teams"
msgstr ""
-#: user/templates/user/index.html:69 user/templates/user/team/index.html:18
+#: user/templates/user/index.html:61 user/templates/user/team/index.html:18
#: user/views.py:167
msgid "Teams"
msgstr ""
+#: user/templates/user/index.html:66
+msgid "See or edit your API token"
+msgstr "API token einsehen oder neu generieren"
+
+#: user/templates/user/index.html:69
+msgid "API"
+msgstr ""
+
#: user/templates/user/team/index.html:20
msgid "Add new team"
msgstr "Neues Team hinzufügen"
@@ -4189,5 +4201,14 @@ msgstr ""
msgid "Unable to connect to qpid with SASL mechanism %s"
msgstr ""
+#~ msgid "Kreis"
+#~ msgstr "Kreis"
+
+#~ msgid "Gemarkung"
+#~ msgstr "Gemarkung"
+
+#~ msgid "Loading..."
+#~ msgstr "Lade..."
+
#~ msgid "Who handles the eco-account"
#~ msgstr "Wer für die Herrichtung des Ökokontos verantwortlich ist"
diff --git a/templates/report/unavailable.html b/templates/report/unavailable.html
index 87b1ecb9..b3b22948 100644
--- a/templates/report/unavailable.html
+++ b/templates/report/unavailable.html
@@ -7,7 +7,9 @@
{% blocktrans %}
- The data you want to see is not recorded and might still be work in progress. Please come back another time.
+ The data you want to see is not recorded and might still be work in progress or the legal binding date has
+ not been reached yet. We can not publish this report as long as revocations could occur.
+ Please come back later.
{% endblocktrans %}
diff --git a/user/models/user_action.py b/user/models/user_action.py
index 14d8f41c..d797bb2c 100644
--- a/user/models/user_action.py
+++ b/user/models/user_action.py
@@ -10,7 +10,7 @@ import uuid
from django.db import models
from django.utils.translation import gettext_lazy as _
-from konova.sub_settings.django_settings import DEFAULT_DATE_FORMAT, DEFAULT_DATE_TIME_FORMAT
+from konova.sub_settings.django_settings import DEFAULT_DATE_TIME_FORMAT
class UserAction(models.TextChoices):
diff --git a/user/templates/user/index.html b/user/templates/user/index.html
index c31de94f..f8fd616d 100644
--- a/user/templates/user/index.html
+++ b/user/templates/user/index.html
@@ -54,14 +54,6 @@
-
+