{% comment %}used by repo_view_file.html, history_file_view.html, view_shared_file.html{% endcomment %} {% if filetype == 'Text' %} {% endif %} {% if filetype == 'Image' %} {% endif %} {% if filetype == 'Video' or filetype == 'Audio' %} {% endif %} {% if filetype == 'Document' or filetype == 'PDF' and not use_pdfjs %} {% include 'snippets/office_convert_style.html' %} {% endif %} {% if filetype == 'SpreadSheet' %} {% include 'snippets/spreadsheet_convert_style.html' %} {% endif %}