X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/ec66a5c7d17cb1e67ee066f2e9bdaf5bbc9ab614..5d876f011e259b4ec59817579cc54fe3a4129231:/data/templates/edit-file.htm?ds=sidebyside diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 66647f0..a1993c5 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,19 +1,37 @@ -
+
- - + +
-
- - +
+
+ +
+ {% if not file or file.isText %} + + {% else %} +

+ Binary files cannot be edited. +

+ {% endif %} +
+
+ + +
+ {% if not newfile %} +
+ + +
+ {% endif %}
-