From fcdc5fdfa1b5ea23156861301139a5b5d88f8314 Mon Sep 17 00:00:00 2001 From: fngaha Date: Wed, 22 May 2024 09:55:54 +0200 Subject: [PATCH] Update parcels info view URB-2498 --- news/URB-2498.internal | 2 + .../urban/browser/templates/parcelsinfo.pt | 107 ++++++++---------- .../urban/locales/fr/LC_MESSAGES/urban.po | 8 +- 3 files changed, 55 insertions(+), 62 deletions(-) create mode 100644 news/URB-2498.internal diff --git a/news/URB-2498.internal b/news/URB-2498.internal new file mode 100644 index 000000000..978c43d50 --- /dev/null +++ b/news/URB-2498.internal @@ -0,0 +1,2 @@ +Update parcels info view +[fngaha] \ No newline at end of file diff --git a/src/Products/urban/browser/templates/parcelsinfo.pt b/src/Products/urban/browser/templates/parcelsinfo.pt index e81dba4db..f6f27132f 100644 --- a/src/Products/urban/browser/templates/parcelsinfo.pt +++ b/src/Products/urban/browser/templates/parcelsinfo.pt @@ -5,7 +5,12 @@
+ wtool context/portal_workflow; + displays python: view.get_related_licences_displays(capakey); + licences python: displays[0]; + parcel_historic python: displays[1]; + line_result parcel_historic; + ">
name
@@ -20,7 +25,7 @@ - owner: + owners: @@ -32,68 +37,56 @@ - type: + types:
+ + History of the parcel and related licences + + + + + + + + + +
+
+ + + : +
+ +
+ + lien vers les anciens permis + +

+ + Result description + +

+
+
+
- - - -

No related licences

-
- -

Related licences

-
- -
- - -

History of the parcel and related licences

- - - - - - - - -
-
- - : -
- -
- lien vers les anciens permis -

Result description

-
-
-
-
-
-
diff --git a/src/Products/urban/locales/fr/LC_MESSAGES/urban.po b/src/Products/urban/locales/fr/LC_MESSAGES/urban.po index b8514836b..82aaf1943 100644 --- a/src/Products/urban/locales/fr/LC_MESSAGES/urban.po +++ b/src/Products/urban/locales/fr/LC_MESSAGES/urban.po @@ -2652,7 +2652,7 @@ msgstr "Conditions intégrales et sectorielles supplémentaires" #. Default: "address:" #: ../browser/templates/parcelsinfo.pt:14 msgid "urban_label_address" -msgstr "Adresse" +msgstr "Adresses" #. Default: "Adr1" #: RecipientCadastre.py @@ -4055,9 +4055,8 @@ msgstr "Hors délai" # parcelsinfo.pt #. Default: "owner:" #: ../browser/templates/parcelsinfo.pt:23 -#, fuzzy msgid "urban_label_owner" -msgstr "Propriétaire" +msgstr "Propriétaires" #. Default: "Parcellings" #: ../content/licence/GenericLicence.py:1180 @@ -4958,9 +4957,8 @@ msgstr "N° TVA" #. Default: "type:" #: ../browser/templates/parcelsinfo.pt:35 -#, fuzzy msgid "urban_label_type" -msgstr "Type" +msgstr "Types" #. Default: "Typeandstreetname_number_box" #: ../OpinionRequestEventType.py:79