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 @@