From f11f1807008c23edf99a6e0793c24a981bdf00b9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Apr 2018 11:41:46 +0200 Subject: [PATCH] Move imprint to legal I hope the a few people less will click on it and send us support requests over the email addresses in there. Signed-off-by: Michael Tremer --- templates/base.html | 2 +- templates/static/{imprint.html => legal.html} | 0 webapp/__init__.py | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename templates/static/{imprint.html => legal.html} (100%) diff --git a/templates/base.html b/templates/base.html index 73775cd3..83533f9e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -79,7 +79,7 @@ {{ _("Planet") }}
  • - {{ _("Imprint") }} + {{ _("Legal") }}
  • diff --git a/templates/static/imprint.html b/templates/static/legal.html similarity index 100% rename from templates/static/imprint.html rename to templates/static/legal.html diff --git a/webapp/__init__.py b/webapp/__init__.py index 6dafc3e6..631a98b1 100644 --- a/webapp/__init__.py +++ b/webapp/__init__.py @@ -111,6 +111,9 @@ class Application(tornado.web.Application): (r"/donate", DonateHandler), (r"/donation", tornado.web.RedirectHandler, { "url" : "/donate" }), + # Old imprint + (r"/imprint", tornado.web.RedirectHandler, { "url" : "/legal" }), + # RSS feed (r"/news.rss", RSSNewsHandler), -- 2.47.2