X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/6c5e3a87419ab5f9a896403bbca2d41c7222e732..670d927b0cdc6cea596e35676676aef8f36080bc:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index 53c2c01..a1993c5 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -14,7 +14,13 @@

Type determined from filename

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

+ Binary files cannot be edited. +

+ {% endif %}