X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/e5dd490175334f5a9a2dc93d8b500df480bb4f60..3543bfd4d6c2ff90417d775b4eac74e1f2bd8d10:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index a1993c5..aca61f9 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -1,4 +1,11 @@
+ {% if not file or file.isText %} + + {% else %} +

+ Binary files cannot be edited. +

+ {% endif %}
@@ -14,13 +21,6 @@

Type determined from filename

- {% if not file or file.isText %} - - {% else %} -

- Binary files cannot be edited. -

- {% endif %}