From 4c677779777779e226281ca7a33ffd0481ff0979 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 18 Mar 2020 14:44:15 +0100 Subject: [PATCH] Add privacy --- app/main/views.py | 6 ++++++ app/templates/main/privacy_policy.html.j2 | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 app/templates/main/privacy_policy.html.j2 diff --git a/app/main/views.py b/app/main/views.py index 8f855399..1552b99b 100644 --- a/app/main/views.py +++ b/app/main/views.py @@ -53,3 +53,9 @@ def poster(): flash('Invalid email/username or password.') return render_template('main/poster.html.j2', login_form=login_form, title='Poster') + + +@main.route('/privacy_policy') +def privacy_policy(): + return render_template('main/privacy_policy.html.j2', + title='Privacy policy') diff --git a/app/templates/main/privacy_policy.html.j2 b/app/templates/main/privacy_policy.html.j2 new file mode 100644 index 00000000..44e97e7d --- /dev/null +++ b/app/templates/main/privacy_policy.html.j2 @@ -0,0 +1,9 @@ +{% extends "nopaque.html.j2" %} + +{% block page_content %} + +

Privacy policy

+ + + +{% endblock %}