X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdc99846c94bacdd7a2a0681d77bac3de45c4f2a..4fea519a397df1e660f7e2b1fcd3805241797b6c:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index b0a4848..a1993c5 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,31 +1,37 @@
- - +
-
- - +
+
+
+ {% if not file or file.isText %} + {% else %} +

+ Binary files cannot be edited. +

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