# HG changeset patch # User Reimar Bauer # Date 1526373165 -7200 # Node ID 79503af02eb3f9910d0dd6d58cfb066f04d6b70e # Parent 3ed0b7ffbb507dfef91a86418a8318b4d8c6b4da renamed datenschutzerkl?rung to dataprotection diff -r 3ed0b7ffbb50 -r 79503af02eb3 eskp.py --- a/eskp.py Tue May 15 10:25:36 2018 +0200 +++ b/eskp.py Tue May 15 10:32:45 2018 +0200 @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +#!/usr/bin/env python import logging import os @@ -346,11 +347,11 @@ return render_template("/content.html", act="imprint", content=content) -@app.route("/datenschutz") -def imprint(): - filename = os.path.join("templates", get_locale(), "rst", "datenschutz.rst") - content = get_content(filename) - return render_template("/content.html", act="datenschutz", content=content) +@app.route("/dataprotection") +def dataprotection(): + filename = os.path.join("templates", get_locale(), "rst", "datenschutz.rst") + content = get_content(filename) + return render_template("/content.html", act="datenschutz", content=content) @app.errorhandler(404) diff -r 3ed0b7ffbb50 -r 79503af02eb3 templates/footer.html --- a/templates/footer.html Tue May 15 10:25:36 2018 +0200 +++ b/templates/footer.html Tue May 15 10:32:45 2018 +0200 @@ -4,7 +4,7 @@