From fc9985828d0dccc68068b4f4d251d891dccd6b80 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Feb 2019 20:34:58 +0100 Subject: [PATCH] forse? --- templates/wikipage.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/wikipage.html b/templates/wikipage.html index 50e049b6..061fb0ec 100644 --- a/templates/wikipage.html +++ b/templates/wikipage.html @@ -43,14 +43,23 @@ Ultima modifica di {{ wiki_log.editor.username }} alle {{ wiki_log.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}{% if wiki_log.reason %}, motivo: {{ wiki_log.reason }}{% endif %} {% endif %} - {% if not wiki_page or not wiki_page.locked %} + {% if wiki_page is none %} +
+

Crea

+
+
+
+ +
+
+ {% elif wiki_page.locked %} {% if g.user %}

Modifica

-
-
- +
+
+
{% endif %}