#67 Parcel error fix

* adds workaround in case of received WFS exception -> routine waits 1 second and tries to rerun for another time. If this does fail as well, the routine will end without a result
* adds mailto shortcut to contact button in footer for a quick fix
This commit is contained in:
2022-01-13 09:27:35 +01:00
parent b0c0308558
commit 3a5168a05c
3 changed files with 23 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ Created on: 16.11.20
from django.http import HttpRequest
from konova.sub_settings.context_settings import BASE_TITLE, HELP_LINK, BASE_FRONTEND_TITLE
from konova.sub_settings.django_settings import LANGUAGE_CODE
from konova.sub_settings.django_settings import EMAIL_REPLY_TO
class BaseContext:
@@ -24,7 +24,8 @@ class BaseContext:
"language": request.LANGUAGE_CODE,
"user": request.user,
"current_role": None,
"help_link": HELP_LINK
"help_link": HELP_LINK,
"CONTACT_MAIL": EMAIL_REPLY_TO,
}
# Add additional context, derived from given parameters