Add: seen post overlay to gallery template
This commit is contained in:
parent
4e0ab1ee08
commit
1a715c86d5
1 changed files with 5 additions and 2 deletions
|
@ -10,8 +10,11 @@
|
|||
<div class="gallery-container">
|
||||
{% for submission in submissions %}
|
||||
<div class="gallery-item bg-dark">
|
||||
|
||||
{% include "sites/partials/site-btn-overlay.html" with category=submission.category.name %}
|
||||
|
||||
<span class="seen-overlay text-primary-emphasis" data-seen="false" data-hash="{{ submission.submission_hash }}" href=''></span>
|
||||
|
||||
{% if submission.content_object.files.exists %}
|
||||
|
||||
{% if submission.content_object.files.first.file_mime|is_image %}
|
||||
|
|
Loading…
Reference in a new issue