forked from enviPath/enviPy
fix: remove jobs clash
This commit is contained in:
@ -199,7 +199,7 @@ urlpatterns = [
|
||||
re_path(r"^cookie-policy$", v.static_cookie_policy, name="cookie_policy"),
|
||||
re_path(r"^about$", v.static_about_us, name="about_us"),
|
||||
re_path(r"^contact$", v.static_contact_support, name="contact_support"),
|
||||
re_path(r"^jobs$", v.static_jobs, name="jobs"),
|
||||
re_path(r"^careers$", v.static_careers, name="careers"),
|
||||
re_path(r"^cite$", v.static_cite, name="cite"),
|
||||
re_path(r"^legal$", v.static_legal, name="legal"),
|
||||
]
|
||||
|
||||
@ -2828,46 +2828,54 @@ def userinfo(request):
|
||||
def static_terms_of_use(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Terms of Use"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/terms_of_use.html", context)
|
||||
|
||||
|
||||
def static_privacy_policy(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Privacy Policy"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/privacy_policy.html", context)
|
||||
|
||||
|
||||
def static_cookie_policy(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Cookie Policy"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/cookie_policy.html", context)
|
||||
|
||||
|
||||
def static_about_us(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - About Us"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/about_us.html", context)
|
||||
|
||||
|
||||
def static_contact_support(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Contact & Support"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/contact.html", context)
|
||||
|
||||
|
||||
def static_jobs(request):
|
||||
def static_careers(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Jobs & Careers"
|
||||
return render(request, "static/jobs.html", context)
|
||||
context["title"] = "enviPath - Careers"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/careers.html", context)
|
||||
|
||||
|
||||
def static_cite(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - How to Cite"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/cite.html", context)
|
||||
|
||||
|
||||
def static_legal(request):
|
||||
context = get_base_context(request)
|
||||
context["title"] = "enviPath - Legal Information"
|
||||
context["public_mode"] = True
|
||||
return render(request, "static/legal.html", context)
|
||||
|
||||
Reference in New Issue
Block a user