2021-11-24 16:48:06 +00:00
< div class = "hidden xl:block xl:col-start-10 xl:col-end-13 flex flex-col flex-shrink-0 py-4" >
< div >
< h2 class = "ml-2 font-bold text-lg font-heading leading-normal mb-2" >
2021-11-28 18:04:19 +00:00
Awards
2021-11-24 16:48:06 +00:00
< / h2 >
<!-- Give awards if none -->
{% if not p.awards %}
2021-12-04 17:19:09 +00:00
< p class = "text-sm text-gray-500" > No awards gifted yet...< / p >
2021-12-03 18:33:01 +00:00
< button class = "text-sm text-red-600 hover:text-red-500" data-bs-toggle = "modal" data-bs-target = "#awardModal" onclick = "awardModal('/post/{{p.id}}/awards')" >
2021-12-04 17:18:51 +00:00
Gift award
2021-11-24 16:48:06 +00:00
< / button >
{% endif %}
<!-- Icons -->
< ul class = "flex flex-wrap gap-3 items-center" >
<!-- Awards -->
{% if p.awards %}
{% for a in p.awards %}
< li >
< i class = "{{a.class_list}} fa-sm fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{a.title}} Award given by @{{a.user.username}}" > < / i >
< / li >
{% endfor %}
{% endif %}
< / ul >
< / div >
2021-11-28 17:33:21 +00:00
< hr class = "mt-6 mb-5 h-0.5 border-b border-gray-300 shadow-inset-t-white-05" / >
2021-11-24 16:48:06 +00:00
< div >
< h2 class = "ml-2 font-bold text-lg font-heading leading-normal mb-2" >
Link
< / h2 >
2021-11-30 23:47:52 +00:00
< input type = "text" onclick = "this.select()" value = "https://rdrama.net/post/{{ p.id }}" class = "m-0.5 p-0.5 bg-white border border-gray-300 text-xs text-black w-44" >
2021-11-24 16:48:06 +00:00
< / div >
2021-11-28 17:33:21 +00:00
< hr class = "mt-6 mb-5 h-0.5 border-b border-gray-300 shadow-inset-t-white-05" / >
2021-11-24 16:48:06 +00:00
< div >
< h2 class = "ml-2 font-bold text-lg font-heading leading-normal mb-2" >
Share Post
< / h2 >
< div class = "flex flex-wrap items-center space-x-2" >
< a class = "leading-4 text-gray-400 hover:text-gray-300" href = "" >
< img src = "/assets/images/icons/reddit.gif" class = "w-7 h-7 object-contain" alt = "Share this post on Reddit" / >
< / a >
< a class = "leading-4 text-gray-400 hover:text-gray-300" href = "" >
< img src = "/assets/images/icons/twitter.gif" class = "w-7 h-7 object-contain" alt = "Share this post on Twitter" / >
< / a >
< / div >
< / div >
2021-11-28 17:33:21 +00:00
< hr class = "mt-6 mb-5 h-0.5 border-b border-gray-300 shadow-inset-t-white-05" / >
2021-11-24 16:48:06 +00:00
< div >
< h2 class = "ml-2 font-bold text-lg font-heading leading-normal mb-2" >
DramaMetricâ„¢
< / h2 >
< ul class = "flex flex-col space-y-1 text-gray-500" >
< li >
< p class = "text-sm" >
< strong > {{ p.views }}< / strong > {{ 'view' if p.views == 1 else 'views' }} on this post
< / p >
< / li >
< li >
< p class = "text-sm" >
2021-12-04 17:20:54 +00:00
< a href = "/votes?link={{p.fullname}}" class = "font-bold text-red-600 hover:text-red-600" >
{{ ups + downs }}
< / a >
{{ 'vote' if ups + downs == 1 else 'votes' }} on this post
2021-11-24 16:48:06 +00:00
< / p >
< / li >
2021-12-04 17:22:27 +00:00
{% if p.awards|length > 1 %}
2021-11-24 16:48:06 +00:00
< li >
< p class = "text-sm" >
2021-12-04 17:22:50 +00:00
< strong > {{ p.awards|length }}< / strong > {{ 'award' if p.awards.length == 1 else 'awards' }} gifted
2021-11-24 16:48:06 +00:00
< / p >
< / li >
2021-12-04 17:21:22 +00:00
{% endif %}
2021-11-24 16:48:06 +00:00
< / ul >
2021-12-03 20:09:20 +00:00
< ul class = "flex flex-col mb-0" >
2021-12-06 20:38:55 +00:00
<!-- Flair -->
{% if p.flair %}
< li >
2021-12-06 20:39:48 +00:00
< span class = "badge badge-purple" >
2021-12-06 20:38:55 +00:00
{{p.flair | safe}}
< / span >
< / li >
{% endif %}
2021-12-06 06:13:47 +00:00
<!-- NSFW -->
{% if p.over_18 %}
< li >
< span class = "badge badge-red" > +18< / span >
< / li >
{% endif %}
2021-12-06 20:38:55 +00:00
<!-- Country Club -->
2021-12-04 17:17:52 +00:00
{% if p.club %}
< li >
2021-12-04 19:06:04 +00:00
< span class = "badge badge-yellow" > Country Club< / span >
2021-12-03 20:09:20 +00:00
< / li >
2021-12-06 20:38:55 +00:00
{% endif %}
2021-12-03 20:09:20 +00:00
<!-- Stickied -->
{% if p.stickied %}
< li >
2021-12-06 20:38:55 +00:00
< span class = "badge badge-pink" >
2021-12-06 20:41:00 +00:00
< i class = "fas fa-thumbtack fa-rotate--45 fa-sm fa-fw mr-1" > < / i >
2021-12-03 20:09:20 +00:00
Pinned {% if p.stickied.startswith('t:') %}until {{p.stickied[2:]}}{% else %}by @{{p.stickied}}{%endif%}
< / span >
< / li >
{% endif %}
<!-- Pinned -->
{% if p.is_pinned %}
< li >
2021-12-06 20:38:55 +00:00
< span class = "badge badge-green" >
< i class = "fas fa-thumbtack fa-rotate--45 fa-sm fa-fw mr-1" > < / i >
Pinned to profile
< / span >
2021-12-03 20:09:20 +00:00
< / li >
{% endif %}
<!-- Private -->
{% if p.private %}
< li >
2021-12-06 20:41:00 +00:00
< i class = "fas fa-lock-alt fa-sm fa-fw mr-1" > < / i >
2021-12-06 20:29:55 +00:00
< span class = "badge badge-blue" > Draft< / span >
2021-12-03 20:09:20 +00:00
< / li >
{% endif %}
2021-12-06 20:38:55 +00:00
<!-- Awards -->
{% if p.awards %}
{% for a in p.awards %}
< li >
< i class = "{{a.class_list}} fa-sm fa-fw" data-bs-toggle = "tooltip" data-bs-placement = "bottom" data-bs-original-title = "{{a.title}} Award given by @{{a.user.username}}" > < / i >
< / li >
{% endfor %}
{% endif %}
2021-12-03 20:09:20 +00:00
< / ul >
2021-11-24 16:48:06 +00:00
< / div >
2021-12-04 23:59:32 +00:00
< / div >