renamed datenschutzerkl?rung to dataprotection
authorReimar Bauer <rb.proj AT gmail DOT com>
Tue, 15 May 2018 10:32:45 +0200
changeset 84679503af02eb3
parent 845 3ed0b7ffbb50
child 847 cd186ccb0ddb
renamed datenschutzerkl?rung to dataprotection
eskp.py
templates/footer.html
     1.1 --- a/eskp.py	Tue May 15 10:25:36 2018 +0200
     1.2 +++ b/eskp.py	Tue May 15 10:32:45 2018 +0200
     1.3 @@ -1,4 +1,5 @@
     1.4  # -*- coding: utf-8 -*-
     1.5 +#!/usr/bin/env python
     1.6  import logging
     1.7  
     1.8  import os
     1.9 @@ -346,11 +347,11 @@
    1.10      return render_template("/content.html", act="imprint", content=content)
    1.11  
    1.12  
    1.13 -@app.route("/datenschutz")
    1.14 -def imprint():
    1.15 -        filename = os.path.join("templates", get_locale(), "rst", "datenschutz.rst")
    1.16 -            content = get_content(filename)
    1.17 -                return render_template("/content.html", act="datenschutz", content=content)
    1.18 +@app.route("/dataprotection")
    1.19 +def dataprotection():
    1.20 +    filename = os.path.join("templates", get_locale(), "rst", "datenschutz.rst")
    1.21 +    content = get_content(filename)
    1.22 +    return render_template("/content.html", act="datenschutz", content=content)
    1.23  
    1.24  
    1.25  @app.errorhandler(404)
     2.1 --- a/templates/footer.html	Tue May 15 10:25:36 2018 +0200
     2.2 +++ b/templates/footer.html	Tue May 15 10:32:45 2018 +0200
     2.3 @@ -4,7 +4,7 @@
     2.4         <div class="text-center module-imprint">
     2.5            <ul class="list-inline">
     2.6               <li><a href="/imprint">Impressum</a></li>
     2.7 -             <li><a href="/datenschutz">Datenschutzerkl&auml;rung</a></li>
     2.8 +             <li><a href="/dataprotection">Datenschutzerkl&auml;rung</a></li>
     2.9            </ul>
    2.10         </div>
    2.11      </div>
Impressum Datenschutzerklärung