From: Michael Tremer Date: Wed, 25 Apr 2018 09:41:46 +0000 (+0200) Subject: Move imprint to legal X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=commitdiff_plain;h=f11f1807008c23edf99a6e0793c24a981bdf00b9 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 --- 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),