From fac6be0a8a93d5cae459c0793a7b7d350738fe06 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Thu, 14 Oct 2021 08:49:32 +0200 Subject: [PATCH] #25 Public reports * adds fully functional EMA report * adds/updates translations --- .../compensation/detail/eco_account/view.html | 2 +- ema/templates/ema/detail/view.html | 2 +- ema/templates/ema/report/report.html | 74 +++++++++++++++ ema/views.py | 16 +++- locale/de/LC_MESSAGES/django.mo | Bin 23154 -> 23203 bytes locale/de/LC_MESSAGES/django.po | 88 ++++++++++-------- 6 files changed, 142 insertions(+), 40 deletions(-) create mode 100644 ema/templates/ema/report/report.html diff --git a/compensation/templates/compensation/detail/eco_account/view.html b/compensation/templates/compensation/detail/eco_account/view.html index efe44bb1..429c4f4d 100644 --- a/compensation/templates/compensation/detail/eco_account/view.html +++ b/compensation/templates/compensation/detail/eco_account/view.html @@ -62,7 +62,7 @@ {{obj.responsible.conservation_file_number|default_if_none:""}} - {% trans 'Intervention handler' %} + {% trans 'Action handler' %} {{obj.responsible.handler|default_if_none:""}} diff --git a/ema/templates/ema/detail/view.html b/ema/templates/ema/detail/view.html index 941e47c1..757ee64d 100644 --- a/ema/templates/ema/detail/view.html +++ b/ema/templates/ema/detail/view.html @@ -47,7 +47,7 @@ {{obj.responsible.conservation_file_number|default_if_none:""}} - {% trans 'Intervention handler' %} + {% trans 'Action handler' %} {{obj.responsible.handler|default_if_none:""}} diff --git a/ema/templates/ema/report/report.html b/ema/templates/ema/report/report.html new file mode 100644 index 00000000..756b6573 --- /dev/null +++ b/ema/templates/ema/report/report.html @@ -0,0 +1,74 @@ +{% extends 'public_base.html' %} +{% load i18n fontawesome_5 humanize %} + +{% block body %} +
+
+

{% trans 'Report' %}

+

{{obj.identifier}}

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
{% trans 'Title' %}{{obj.title|default_if_none:""}}
{% trans 'Conservation office' %}{{obj.responsible.conservation_office.str_as_office|default_if_none:""}}
{% trans 'Conservation office file number' %}{{obj.responsible.conservation_file_number|default_if_none:""}}
{% trans 'Action handler' %}{{obj.responsible.handler|default_if_none:""}}
{% trans 'Funded by' %} + {% with obj.fundings.all as fundings %} + {% for funding in fundings %} +
{{funding.short_name}}
+
+ {% empty %} + {% trans 'None' %} + {% endfor %} + {% endwith %} +
{% trans 'Last modified' %} + {{obj.modified.timestamp|default_if_none:""|naturalday}} +
+
+ + {% include 'compensation/detail/compensation/includes/states-before.html' %} + {% include 'compensation/detail/compensation/includes/states-after.html' %} + {% include 'compensation/detail/compensation/includes/actions.html' %} +
+
+
+ {% include 'map/geom_form.html' %} +
+
+ {% include 'intervention/detail/includes/comment.html' %} +
+
+
+

{% trans 'Open in browser' %}

+ {{ qrcode|safe }} +
+
+

{% trans 'View in LANIS' %}

+ {{ qrcode_lanis|safe }} +
+
+ +
+
+ +{% endblock %} \ No newline at end of file diff --git a/ema/views.py b/ema/views.py index 5fd9372a..ead1a899 100644 --- a/ema/views.py +++ b/ema/views.py @@ -412,7 +412,7 @@ def report_view(request:HttpRequest, id: str): """ # Reuse the compensation report template since EMAs are structurally identical - template = "compensation/report/report.html" + template = "ema/report/report.html" ema = get_object_or_404(Ema, id=id) # If intervention is not recorded (yet or currently) we need to render another template without any data @@ -420,6 +420,10 @@ def report_view(request:HttpRequest, id: str): template = "report/unavailable.html" return render(request, template, {}) + # Prepare data for map viewer + geom_form = SimpleGeomForm( + instance=ema + ) qrcode_img = generate_qr_code( request.build_absolute_uri(reverse("ema:report", args=(id,))), 10 @@ -428,10 +432,20 @@ def report_view(request:HttpRequest, id: str): ema.get_LANIS_link(), 7 ) + # Order states by surface + before_states = ema.before_states.all().order_by("-surface").prefetch_related("biotope_type") + after_states = ema.after_states.all().order_by("-surface").prefetch_related("biotope_type") + actions = ema.actions.all().prefetch_related("action_type") + context = { "obj": ema, "qrcode": qrcode_img, "qrcode_lanis": qrcode_img_lanis, + "has_access": False, # disables action buttons during rendering + "before_states": before_states, + "after_states": after_states, + "geom_form": geom_form, + "actions": actions, } context = BaseContext(request, context).context return render(request, template, context) \ No newline at end of file diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo index 8da5e14e205cd793e8e43d657a9746e4b89d5970..348a808d988e5289faef8d59491fb3dd9e5230e5 100644 GIT binary patch delta 6959 zcmYk>2Y44n8prVo=>^gu1xQFj0wf^`L|UXqAV7$eAVon!jfkiyDs|}y9zw(tkD>@- zL5fn8<7k2+MJ^PN<21ojQ8+{bHo_fp-`{^H&#{j$pPAX+nb~({HvzA2_gc5Z%c+X+ zdC72e^)jX*rUV(Yg>pueT8+6FXG|#dOSpo1O}sG+aVZzi$EZfe@Sk~=KO*o$>rwQh zUWvi@9fn{v*27z_jtOb(UJ#GToJd1m&<8b#VHk#wVmQvW^%pRd`Z|onZK&%HqwfC- zHQ;4izhU)HFs3f;^)c8uJTV2$JR4InAH8t`>Io*H2AG2Ca51WbmoX66qb9Z)NuJq{ z>hBop`YP*XRDU-x6K`XZLm@NKeUg6YPkkh&VJXJqa#RZ6MNMR<^(gB4D%61AqXw)& zWx}tCdwo2TZIgv+?~Bnm3Z42Co}r*8T88RyH7bQ~qEf#dHSj0Mq|G_h1Zz+oH%W5u z>x==^d)j(G)O|xx8JdX7z$|-yK@#~_%9hgLgXO3vS&f>|R@6lHq9*b=D&+^#+U9N40EbXF9zjj$6e<(n z+xBYoY&NSOvv0upNYs7l=!dze{_?C{us`+gn9KO)6$;t|$FU8bMP5}?ubDB4n2FkC zMW`p7h#GhnYQX1EDP4z3=|`y4pFl0e1=PfUw)I=+O+C1|GQ|3aQcyz@YR0J;fSIU) z+SqzN`cp4NEln|I;vCcyZb4;mJ8IKap!&Uxn#fhu{kKqi$F~I!&iE#pg4Qq*HDC?~ zVkg^PVCzFs1C2&Kc`2&n*{COf9@X)BR6pBM{T@JN_7v*6z;yS%1ay?TObXiV-B1Jf zN2Tz7)Y?x*eTWuf48Cs9??O$a0`J0$$itb&q(>7gKuzdARQoto29~2XUwH=kSHl__ zbi)Spq!2x?3#x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Jhx+$7N7XxEy#D@oqtJqe64aBH zVm3a3>Y&ojAHvquYj8haH_V^-DO9S@nPJ2IUrtR>DIbgRI0GBtz2-7Z()+*08eT(X zpbC|dgP4ZZcK#A-=5ZtZ&6JG#zfS0flzJZ|(U?TNuR0n5KuhT`;6Eq&}*RxUQ`(q;9=zw|WigL9Tcdv?fi*`A^UiW2on#GE#)PhyXcKIR9#h+1cN84ZdySP8;!))r9TjUwWN-v0tSaS3@C7h|0$3;pceuko;zr(sJ%J6%T} z*Yk7F{hnx|1`fT}hlmA)eqGh$nn&<$qW1WOLb7LrwZd;{IAv#_#&?NyB8qeMiL;b< z64xHbt@2kqK-2HbZu}3lA@Wt{&>PW*7)`49EBaOC)Xwd6)lqj^5L-Efbn5q}}RCSD?r5DyX)h*d<8`wEF`kM&gYt?gyX-w;cP9mEVmM`--cTvUfj z7CsYdCQX#P+s)C|HUx8sn~6t>6+{*B4)G77fa|Lj?TOooQG|Yaw;|S0*6{&Rk2prOqx~}09{;7lhca|@ z;NJ)I{Ie)@A@&eI5sBPX7ym${5jwUIuMF{Cw37(6FQpu zgg)b8R^D5?{&lRAt9If?j36?IzCM=c$9xKHi3~2%andLBHz3Z+pPJ>^mg|a%53Q}2`8&LUh~?Z( z_&L#(^4~EU-@{D3{|OZSP1GL!DTH&uQ&>SHQ7$5Mbi!tS@&EtMp>&$i|D?(#vWYC} sV~HHfwZ|C>F+>;I{)qdD)&aKa6$&FOPBd*5R?)Eep45u3i?=ubAHP<*Gynhq diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index 391c4d24..ab0ecbbd 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -19,7 +19,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-10-13 17:26+0200\n" +"POT-Creation-Date: 2021-10-14 08:46+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,7 +52,8 @@ msgstr "Automatisch generiert" #: compensation/templates/compensation/detail/eco_account/view.html:31 #: compensation/templates/compensation/report/compensation/report.html:12 #: ema/tables.py:33 ema/templates/ema/detail/includes/documents.html:28 -#: ema/templates/ema/detail/view.html:24 intervention/forms/forms.py:39 +#: ema/templates/ema/detail/view.html:24 +#: ema/templates/ema/report/report.html:12 intervention/forms/forms.py:39 #: intervention/tables.py:28 #: intervention/templates/intervention/detail/includes/compensations.html:33 #: intervention/templates/intervention/detail/includes/documents.html:28 @@ -113,7 +114,8 @@ msgstr "Zusätzlicher Kommentar" #: compensation/forms/forms.py:93 #: compensation/templates/compensation/detail/eco_account/view.html:58 -#: ema/templates/ema/detail/view.html:42 intervention/forms/forms.py:101 +#: ema/templates/ema/detail/view.html:42 +#: ema/templates/ema/report/report.html:29 intervention/forms/forms.py:101 #: intervention/templates/intervention/detail/view.html:56 #: intervention/templates/intervention/report/report.html:37 msgid "Conservation office" @@ -125,7 +127,8 @@ msgstr "Verantwortliche Stelle" #: compensation/forms/forms.py:109 #: compensation/templates/compensation/detail/eco_account/view.html:62 -#: ema/templates/ema/detail/view.html:46 intervention/forms/forms.py:129 +#: ema/templates/ema/detail/view.html:46 +#: ema/templates/ema/report/report.html:33 intervention/forms/forms.py:129 #: intervention/templates/intervention/detail/view.html:60 #: intervention/templates/intervention/report/report.html:41 msgid "Conservation office file number" @@ -301,8 +304,8 @@ msgstr "Maßnahmentyp wählen" #: compensation/forms/modalForms.py:334 #: compensation/templates/compensation/detail/compensation/includes/actions.html:38 -#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:37 -#: compensation/templates/compensation/detail/compensation/includes/documents.html:34 +#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:38 +#: compensation/templates/compensation/detail/compensation/includes/documents.html:35 #: compensation/templates/compensation/detail/compensation/includes/states-after.html:40 #: compensation/templates/compensation/detail/compensation/includes/states-before.html:40 #: compensation/templates/compensation/detail/eco_account/includes/actions.html:37 @@ -316,11 +319,11 @@ msgstr "Maßnahmentyp wählen" #: ema/templates/ema/detail/includes/documents.html:34 #: ema/templates/ema/detail/includes/states-after.html:39 #: ema/templates/ema/detail/includes/states-before.html:39 -#: intervention/templates/intervention/detail/includes/compensations.html:36 -#: intervention/templates/intervention/detail/includes/deductions.html:37 -#: intervention/templates/intervention/detail/includes/documents.html:34 -#: intervention/templates/intervention/detail/includes/payments.html:37 -#: intervention/templates/intervention/detail/includes/revocation.html:41 +#: intervention/templates/intervention/detail/includes/compensations.html:37 +#: intervention/templates/intervention/detail/includes/deductions.html:38 +#: intervention/templates/intervention/detail/includes/documents.html:35 +#: intervention/templates/intervention/detail/includes/payments.html:38 +#: intervention/templates/intervention/detail/includes/revocation.html:42 #: templates/log.html:10 msgid "Action" msgstr "Aktionen" @@ -578,7 +581,7 @@ msgstr "Frist/Termin hinzufügen" msgid "Type" msgstr "Typ" -#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:51 +#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:53 #: compensation/templates/compensation/detail/eco_account/includes/deadlines.html:51 #: ema/templates/ema/detail/includes/deadlines.html:51 msgid "Remove deadline" @@ -599,10 +602,10 @@ msgstr "Dokumente" msgid "Add new document" msgstr "Neues Dokument hinzufügen" -#: compensation/templates/compensation/detail/compensation/includes/documents.html:49 +#: compensation/templates/compensation/detail/compensation/includes/documents.html:51 #: compensation/templates/compensation/detail/eco_account/includes/documents.html:49 #: ema/templates/ema/detail/includes/documents.html:49 -#: intervention/templates/intervention/detail/includes/documents.html:49 +#: intervention/templates/intervention/detail/includes/documents.html:51 msgid "Remove document" msgstr "Dokument löschen" @@ -685,12 +688,15 @@ msgstr "Verzeichnet am" #: compensation/templates/compensation/detail/eco_account/view.html:70 #: compensation/templates/compensation/report/compensation/report.html:24 #: ema/templates/ema/detail/view.html:54 +#: ema/templates/ema/report/report.html:16 msgid "Funded by" msgstr "Gefördert mit" #: compensation/templates/compensation/detail/compensation/view.html:79 #: compensation/templates/compensation/detail/eco_account/view.html:78 +#: compensation/templates/compensation/report/compensation/report.html:31 #: ema/templates/ema/detail/view.html:62 +#: ema/templates/ema/report/report.html:23 #: intervention/templates/intervention/report/report.html:57 #: intervention/templates/intervention/report/report.html:78 msgid "None" @@ -698,8 +704,9 @@ msgstr "" #: compensation/templates/compensation/detail/compensation/view.html:84 #: compensation/templates/compensation/detail/eco_account/view.html:83 -#: compensation/templates/compensation/report/compensation/report.html:33 +#: compensation/templates/compensation/report/compensation/report.html:37 #: ema/templates/ema/detail/view.html:67 +#: ema/templates/ema/report/report.html:41 #: intervention/templates/intervention/detail/view.html:108 #: intervention/templates/intervention/report/report.html:91 msgid "Last modified" @@ -745,7 +752,7 @@ msgid "Created" msgstr "Erstellt" #: compensation/templates/compensation/detail/eco_account/includes/deductions.html:63 -#: intervention/templates/intervention/detail/includes/deductions.html:56 +#: intervention/templates/intervention/detail/includes/deductions.html:58 msgid "Remove Deduction" msgstr "Abbuchung entfernen" @@ -772,23 +779,23 @@ msgid "Missing" msgstr "Fehlt" #: compensation/templates/compensation/detail/eco_account/view.html:66 -#: ema/templates/ema/detail/view.html:50 intervention/forms/forms.py:141 -#: intervention/templates/intervention/detail/view.html:64 -#: intervention/templates/intervention/report/report.html:45 -msgid "Intervention handler" -msgstr "Eingriffsverursacher" +msgid "Action handler" +msgstr "Maßnahmenträger" #: compensation/templates/compensation/report/compensation/report.html:7 +#: ema/templates/ema/report/report.html:7 #: intervention/templates/intervention/report/report.html:7 msgid "Report" msgstr "Bericht" -#: compensation/templates/compensation/report/compensation/report.html:54 +#: compensation/templates/compensation/report/compensation/report.html:58 +#: ema/templates/ema/report/report.html:62 #: intervention/templates/intervention/report/report.html:108 msgid "Open in browser" msgstr "Im Browser öffnen" -#: compensation/templates/compensation/report/compensation/report.html:58 +#: compensation/templates/compensation/report/compensation/report.html:62 +#: ema/templates/ema/report/report.html:66 #: intervention/templates/intervention/report/report.html:112 msgid "View in LANIS" msgstr "In LANIS öffnen" @@ -801,42 +808,42 @@ msgstr "Kompensation {} hinzugefügt" msgid "Compensation {} edited" msgstr "Kompensation {} bearbeitet" -#: compensation/views/compensation_views.py:211 +#: compensation/views/compensation_views.py:213 #: compensation/views/eco_account_views.py:278 ema/views.py:175 #: intervention/views.py:428 msgid "Log" msgstr "Log" -#: compensation/views/compensation_views.py:232 +#: compensation/views/compensation_views.py:234 msgid "Compensation removed" msgstr "Kompensation entfernt" -#: compensation/views/compensation_views.py:251 +#: compensation/views/compensation_views.py:253 #: compensation/views/eco_account_views.py:377 ema/views.py:328 #: intervention/views.py:124 msgid "Document added" msgstr "Dokument hinzugefügt" -#: compensation/views/compensation_views.py:307 +#: compensation/views/compensation_views.py:309 #: compensation/views/eco_account_views.py:321 ema/views.py:272 msgid "State added" msgstr "Zustand hinzugefügt" -#: compensation/views/compensation_views.py:326 +#: compensation/views/compensation_views.py:328 #: compensation/views/eco_account_views.py:340 ema/views.py:291 msgid "Action added" msgstr "Maßnahme hinzugefügt" -#: compensation/views/compensation_views.py:345 +#: compensation/views/compensation_views.py:347 #: compensation/views/eco_account_views.py:359 ema/views.py:310 msgid "Deadline added" msgstr "Frist/Termin hinzugefügt" -#: compensation/views/compensation_views.py:364 +#: compensation/views/compensation_views.py:366 msgid "State removed" msgstr "Zustand gelöscht" -#: compensation/views/compensation_views.py:383 +#: compensation/views/compensation_views.py:385 msgid "Action removed" msgstr "Maßnahme entfernt" @@ -906,6 +913,13 @@ msgstr "" msgid "Payment funded compensation" msgstr "Ersatzzahlungsmaßnahme" +#: ema/templates/ema/detail/view.html:50 +#: ema/templates/ema/report/report.html:37 intervention/forms/forms.py:141 +#: intervention/templates/intervention/detail/view.html:64 +#: intervention/templates/intervention/report/report.html:45 +msgid "Intervention handler" +msgstr "Eingriffsverursacher" + #: ema/views.py:78 msgid "EMA {} added" msgstr "EMA {} hinzugefügt" @@ -1123,7 +1137,7 @@ msgstr "Rechtliche Daten fehlen" #: intervention/tables.py:45 #: intervention/templates/intervention/detail/includes/revocation.html:8 -#: intervention/templates/intervention/detail/includes/revocation.html:55 +#: intervention/templates/intervention/detail/includes/revocation.html:57 #: intervention/templates/intervention/detail/view.html:104 msgid "Revocation" msgstr "Widerspruch" @@ -1144,7 +1158,7 @@ msgstr "Widerspruch vom {}, am {} von {} hinzugefügt" msgid "Add new compensation" msgstr "Neue Kompensation hinzufügen" -#: intervention/templates/intervention/detail/includes/compensations.html:51 +#: intervention/templates/intervention/detail/includes/compensations.html:53 msgid "Remove compensation" msgstr "Kompensation entfernen" @@ -1152,11 +1166,11 @@ msgstr "Kompensation entfernen" msgid "Account Identifier" msgstr "Ökokonto Kennung" -#: intervention/templates/intervention/detail/includes/deductions.html:43 +#: intervention/templates/intervention/detail/includes/deductions.html:45 msgid "Eco-account deleted! Deduction invalid!" msgstr "Ökokonto gelöscht! Abbuchung ungültig!" -#: intervention/templates/intervention/detail/includes/deductions.html:43 +#: intervention/templates/intervention/detail/includes/deductions.html:45 msgid "Eco-account not recorded! Deduction invalid!" msgstr "Ökokonto nicht verzeichnet! Abbuchung ungültig!" @@ -1174,7 +1188,7 @@ msgctxt "money" msgid "Amount" msgstr "Betrag" -#: intervention/templates/intervention/detail/includes/payments.html:51 +#: intervention/templates/intervention/detail/includes/payments.html:53 msgid "Remove payment" msgstr "Zahlung entfernen" @@ -1183,7 +1197,7 @@ msgctxt "Revocation" msgid "From" msgstr "Vom" -#: intervention/templates/intervention/detail/includes/revocation.html:62 +#: intervention/templates/intervention/detail/includes/revocation.html:64 msgid "Remove revocation" msgstr "Widerspruch entfernen"