{% load bleach_tags report_tags custom_tags static %} {% with evidence|get_file_type as file_type %} {% if report_config.figure_caption_location == "top" %}
{{ report_config.label_figure }} 1{{ report_config.prefix_figure }}{{ evidence.caption }}
{% endif %} {% if file_type == "image" %}{{ file_content }}
{% else %}
No text content to preview
This evidence file does not contain any displayable text.
The evidence record exists, but Ghostwriter could not find the uploaded file.
Preview unavailable for this file type
Download the evidence to open it in a compatible application.
Download Evidence{{ report_config.label_figure }} 1{{ report_config.prefix_figure }}{{ evidence.caption }}
{% endif %} {% endwith %}