X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/46b8f9d7a368f9ab35653edd726666ce17bedb39..5b1127bdc82daa43786049b29b3ea6251d2908d0:/data/templates/edit-file.htm diff --git a/data/templates/edit-file.htm b/data/templates/edit-file.htm index b320d8d..a1993c5 100644 --- a/data/templates/edit-file.htm +++ b/data/templates/edit-file.htm @@ -14,14 +14,17 @@
Type determined from filename
+ {% if not file or file.isText %} + {% else %} ++ Binary files cannot be edited. +
+ {% endif %}