From 69e4391bfb53ce2d7a3a42f69e37bbf136d3ee09 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 6 Jul 2015 23:10:18 +0200 Subject: Add "add file" button to display page --- data/templates/edit.htm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'data/templates/edit.htm') diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 870ef23..912a073 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -7,7 +7,7 @@ {% block content %}
-
+
@@ -21,6 +21,10 @@ {% endif %} {% endfor %} + {% if singlefile == "newfile" %} + {% include 'edit-file.htm' with {'file': null, 'fileid': 'newfile', 'newfile': true} %} + {% endif %} + {% include 'edit-add.htm' %}
-- cgit v1.2.3