From 3c8524b454514dabcbdc457c358322ebd861c4c9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 30 May 2019 16:02:44 +0100 Subject: [PATCH] wiki: Fix editing the index page Signed-off-by: Michael Tremer --- src/templates/wiki/404.html | 4 +++- src/templates/wiki/edit.html | 4 +++- src/templates/wiki/page.html | 8 +++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/templates/wiki/404.html b/src/templates/wiki/404.html index bd3a4a53..c410a7a4 100644 --- a/src/templates/wiki/404.html +++ b/src/templates/wiki/404.html @@ -3,6 +3,8 @@ {% block title %}{{ _("Page Not Found") }}{% end block %} {% block container %} + {% import os.path %} +
@@ -15,7 +17,7 @@ {{ _("This wiki page does not exist, yet.") }}

- + {{ _("Create Now") }}
diff --git a/src/templates/wiki/edit.html b/src/templates/wiki/edit.html index 8933b400..4969e3b8 100644 --- a/src/templates/wiki/edit.html +++ b/src/templates/wiki/edit.html @@ -69,6 +69,8 @@ {% end block %} {% block javascript %} + {% import os.path %} +