From: Michael Tremer Date: Thu, 30 May 2019 15:02:44 +0000 (+0100) Subject: wiki: Fix editing the index page X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=commitdiff_plain;h=3c8524b454514dabcbdc457c358322ebd861c4c9 wiki: Fix editing the index page Signed-off-by: Michael Tremer --- 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 %} +