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">
|
<div class="gallery-container">
|
||||||
{% for submission in submissions %}
|
{% for submission in submissions %}
|
||||||
<div class="gallery-item bg-dark">
|
<div class="gallery-item bg-dark">
|
||||||
{% include "sites/partials/site-btn-overlay.html" with category=submission.category.name %}
|
|
||||||
|
|
||||||
|
{% 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.exists %}
|
||||||
|
|
||||||
{% if submission.content_object.files.first.file_mime|is_image %}
|
{% if submission.content_object.files.first.file_mime|is_image %}
|
||||||
|
@ -83,4 +86,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue