diff --git a/archivist/apps/templates/sites/submission.html b/archivist/apps/templates/sites/submission.html new file mode 100644 index 0000000..0a067b4 --- /dev/null +++ b/archivist/apps/templates/sites/submission.html @@ -0,0 +1,147 @@ +{% extends "layouts/base-electric.html" %} + +{% load static %} + +{% load media_filters %} + +{% load string_helper %} + +{% block title %} + {% if submission.content_object.title %} + {{ submission.content_object.title }} + {% else %} + {% if submission.content_object.description|length > 16 %} + {{ submission.content_object.description|slice:"0:16"|add:"..." }} + {% else %} + {{ submission.content_object.description }} + {% endif %} + {% endif %} + + by {{ submission.content_object.author.artist }} + {% if submission.category.name == "twitter" %} + (@{{ submission.content_object.author.artist_url }}) from Twitter + + {% elif submission.category.name == "furaffinity" %} + {{ submission.content_object.artist }} from FurAffinity + {% endif %} + +{% endblock title %} + +{% block content %} + + {% include "includes/navigation-transparent.html" %} + +
This submission has no media or is missing media.
+{{ submission.content_object.description|clickable_urls|get_twitter_username_from_str|get_tags_from_str|safe }}
+ {% else %} +{{ submission.content_object.description|stylizeDescription|clickable_urls|safe }}
+ {% endif %} + {% else %} +No description
+ {% endif %} + +