# 177 Impressum link
* adds impressum link to footer
This commit is contained in:
parent
1bbede0d12
commit
3f3ae4e31b
@ -7,7 +7,8 @@ Created on: 16.11.20
|
||||
"""
|
||||
from django.http import HttpRequest
|
||||
|
||||
from konova.sub_settings.context_settings import BASE_TITLE, HELP_LINK, BASE_FRONTEND_TITLE, TAB_TITLE_IDENTIFIER
|
||||
from konova.sub_settings.context_settings import BASE_TITLE, HELP_LINK, BASE_FRONTEND_TITLE, TAB_TITLE_IDENTIFIER, \
|
||||
IMPRESSUM_LINK
|
||||
from konova.sub_settings.django_settings import EMAIL_REPLY_TO
|
||||
|
||||
|
||||
@ -25,6 +26,7 @@ class BaseContext:
|
||||
"user": request.user,
|
||||
"current_role": None,
|
||||
"help_link": HELP_LINK,
|
||||
"impressum_link": IMPRESSUM_LINK,
|
||||
"CONTACT_MAIL": EMAIL_REPLY_TO,
|
||||
}
|
||||
|
||||
|
@ -11,3 +11,4 @@ BASE_TITLE = "KSP - Kompensationsverzeichnis Service Portal"
|
||||
BASE_FRONTEND_TITLE = "Kompensationsverzeichnis Service Portal"
|
||||
TAB_TITLE_IDENTIFIER = "tab_title"
|
||||
HELP_LINK = "https://dienste.naturschutz.rlp.de/doku/doku.php?id=ksp:start"
|
||||
IMPRESSUM_LINK = "https://naturschutz.rlp.de/index.php?q=impressum"
|
||||
|
@ -6,7 +6,7 @@
|
||||
<a href="{{ help_link }}" target="_blank">{% trans 'Help' %}</a>
|
||||
</span>
|
||||
<span class="col-sm-auto footer-link">
|
||||
<a href="{% url 'home' %}">{% trans 'Impressum' %}</a>
|
||||
<a href="{{ impressum_link }}" target="_blank">{% trans 'Impressum' %}</a>
|
||||
</span>
|
||||
<span class="col-sm-auto footer-link">
|
||||
<a href="mailto:{{CONTACT_MAIL}}">{% trans 'Contact' %}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user