diff --git a/archivist/apps/templates/sites/partials/post-info.html b/archivist/apps/templates/sites/partials/post-info.html new file mode 100644 index 0000000..d84f61e --- /dev/null +++ b/archivist/apps/templates/sites/partials/post-info.html @@ -0,0 +1,117 @@ +{% load string_helper %} + +

Post Info:

+ +
+ +
+ Tags: + {% if submission.content_object.tags.exists %} + {% for tag in submission.content_object.tags.all %} + + {{ tag.tag|capfirst }} + + {% endfor %} + {% else %} + This submission has no tags + {% endif %} +
+ +
+ + + + + {% if submission.category.name == "furaffinity" %} + + {% elif submission.category.name == "twitter" %} + + {% elif submission.category.name == "instagram" %} + + {% else %} + + {% endif %} + + + + {% if submission.category.name == "furaffinity" %} + + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + +
FurAffinity IDTwitter IDInstagram IDSubmission ID{{ submission.content_object.submission_id }}
Views{{ submission.content_object.views }}
Gallery Type{{ submission.content_object.gallery_type|capfirst }}
Lang{{ submission.content_object.lang }}
Favorites{{ submission.content_object.favorites_count }}
Retweets{{ submission.content_object.retweet_count }}
Quotes{{ submission.content_object.quote_count }}
Replies{{ submission.content_object.reply_count }}
+ +

Media Info:

+ +
+ + + + {% if submission.content_object.files.all|length == 0 %} + + + {% elif submission.content_object.files.all|length <= 1 %} + + + + + + + + + + + {% else %} + {% for file in submission.content_object.files.all %} + + + + + + + + + + {% endfor %} + + {% endif %} + + + + + + + + + + + + + +
+ No Media
Image Size{{ submission.content_object.files.first.image_width }} x {{ submission.content_object.files.first.image_height }}
Size{{ submission.content_object.files.first.size|size_to_human_readable }}
Image Res {{ forloop.counter }}{{ file.image_width }} x {{ file.image_height }}
Size {{ forloop.counter }}{{ file.size|size_to_human_readable }}
Mature{{ submission.content_object.sensitive|default_if_none:False }}
Orginal Date{{ submission.content_object.date |date:'Y-m-d H:i:s' }}
Archive Date{{ submission.date_added |date:'Y-m-d H:i:s' }}