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