From 742e7f992e22892dbf7a1ea3eac011ef86f0bbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 3 Jun 2016 19:09:59 +0300 Subject: [PATCH] Add "Terms" to footer. --- hc/front/urls.py | 1 + hc/front/views.py | 4 +++ templates/base.html | 1 + templates/front/about.html | 7 ++-- templates/front/terms.html | 67 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 templates/front/terms.html diff --git a/hc/front/urls.py b/hc/front/urls.py index 18744795..2b7badc1 100644 --- a/hc/front/urls.py +++ b/hc/front/urls.py @@ -14,6 +14,7 @@ urlpatterns = [ url(r'^docs/api/$', views.docs_api, name="hc-docs-api"), url(r'^about/$', views.about, name="hc-about"), url(r'^privacy/$', views.privacy, name="hc-privacy"), + url(r'^terms/$', views.terms, name="hc-terms"), url(r'^integrations/$', views.channels, name="hc-channels"), url(r'^integrations/add/$', views.add_channel, name="hc-add-channel"), url(r'^integrations/add_email/$', views.add_email, name="hc-add-email"), diff --git a/hc/front/views.py b/hc/front/views.py index 8a324d96..c09c58fc 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -451,3 +451,7 @@ def add_victorops(request): def privacy(request): return render(request, "front/privacy.html", {}) + + +def terms(request): + return render(request, "front/terms.html", {}) diff --git a/templates/base.html b/templates/base.html index 488631de..0427cd18 100644 --- a/templates/base.html +++ b/templates/base.html @@ -151,6 +151,7 @@