forked from enviPath/enviPy
feat: add mock legal (impressum page)
This commit is contained in:
@ -184,4 +184,5 @@ urlpatterns = [
|
||||
re_path(r"^contact$", v.contact_support, name="contact_support"),
|
||||
re_path(r"^jobs$", v.jobs, name="jobs"),
|
||||
re_path(r"^cite$", v.cite, name="cite"),
|
||||
re_path(r"^legal$", v.legal, name="legal"),
|
||||
]
|
||||
|
||||
@ -2745,3 +2745,9 @@ def cite(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - How to Cite"
|
||||
return render(request, "static/cite.html", context)
|
||||
|
||||
|
||||
def legal(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Legal Information"
|
||||
return render(request, "static/legal.html", context)
|
||||
|
||||
Reference in New Issue
Block a user