diff --git a/templates/file.html b/templates/file.html index 70c502c..226142d 100644 --- a/templates/file.html +++ b/templates/file.html @@ -11,10 +11,17 @@

{{ file.get_original_filename }}

Created at: {{ file.created }}
- - Download {{ file.get_original_filename }} - -

This download link is only valid for .

+ {% if file.hotlink %} + + Download {{ file.get_original_filename }} + +

This download link is only valid for .

+ {% else %} + + Download {{ file.get_original_filename }} + +

Hotlinking is enabled for this file.

+ {% endif %}