{% set data_scroll = false %} {% set file %} {% if submission.FILESAVED == 0 %}
Submission has no file
{% elif submission.FILESAVED == 1 %} {% set data_scroll = true %}
Thumbnail not found
Thumbnail
{% else %} {% for ext in submission.FILEEXT|map("lower") %}
{% if ext in ["jpg", "jpeg", "png", "gif"] %} {% set data_scroll = false %}
Image not found
{% elif ext in ["mp4", "mov", "webm", "ogg", "3gp"] %} {% set data_scroll = false %}
Video not found
{{ filenames[loop.index0]|title }}
{% elif ext in ["swf"] %}
Ruffle error
{% elif ext in ["txt"] %}
Thumbnail not found
{% if files_text[loop.index0] %} {% autoescape false %}{{ files_text[loop.index0].strip() }}{% endautoescape %} {% else %}
No text
{% endif %}
{% elif ext in ["mp3", "wav", "mid"] %}
Thumbnail not found
File not found
{{ filenames[loop.index0]|title }}
{% else %}
Thumbnail not found
{{ filenames[loop.index0]|title }}
{% endif %} {% if submission.FILEEXT|length > 1 %}
1
/{{ submission.FILEEXT|length }}
{% if ext not in ["jpg", "jpeg", "png", "gif"] %}
{% endif %}
{% elif ext in ["mp4", "mov", "webm", "ogg", "3gp"] %}
{% endif %}
{% endfor %} {% endif %} {% endset %} {% include "navbar.html" %}
{{ file }}
{{ submission.TITLE }}
Next
Gallery
All
Scraps
Prev
Author
{{ submission.AUTHOR }}
Date
{{ submission.DATE.strftime("%Y-%m-%d %H:%M") }}
Folder
{{ submission.FOLDER|title }}
Type
{{ submission.TYPE|title }}
Category
{{ submission.CATEGORY|title }}
Species
{{ submission.SPECIES|title }}
Gender
{{ submission.GENDER|title }}
Rating
{{ submission.RATING|title }}
Tags
{% for tag in submission.TAGS %}
{{ tag }}
{% endfor %} {% if not submission.TAGS %}
No tags
{% endif %}
Favorites
{% for user in submission.FAVORITE %}
{{ user }}
{% endfor %} {% if not submission.FAVORITE %}
No favorites
{% endif %}
Mentions
{% for user in submission.MENTIONS %}
{{ user }}
{% endfor %} {% if not submission.MENTIONS %}
No mentions
{% endif %}
{% if comments %}
Comments
{{ comments|length }}
{% endif %}
{% autoescape false %}{{ submission.DESCRIPTION }}{% endautoescape %}
{% if comments %}{% include "comments.html" %}{% endif %}
{% set floating_buttons = 0 %} {% if comments %}
{% set floating_buttons = floating_buttons + 1 %} {% endif %} {% if submission.FILESAVED %}
{% set floating_buttons = floating_buttons + 1 %} {% endif %}
{% if submission.FILEEXT|length > 1 %} {% endif %} {% if data_scroll %} {% endif %} {% if submission.FILEEXT|map("lower")|select("swf") %} {% endif %}