forked from rDrama/rDrama
dfs
parent
64fa5e9631
commit
6370a85e87
|
@ -109,36 +109,36 @@
|
||||||
})()
|
})()
|
||||||
|
|
||||||
{% if c.is_pinned %}
|
{% if c.is_pinned %}
|
||||||
const pinned_info = document.getElementById('pinned-{{c.id}}')
|
const pinned_info = document.getElementById('pinned-{{c.id}}')
|
||||||
{% if c.is_pinned.startswith('t:') %}
|
{% if c.is_pinned.startswith('t:') %}
|
||||||
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{c.is_pinned[2:]}} * 1000).toString()}`)
|
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{c.is_pinned[2:]}} * 1000).toString()}`)
|
||||||
{% else %}
|
{% else %}
|
||||||
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{c.is_pinned}}")
|
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{c.is_pinned}}")
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div style="display:none" id="popover-{{c.id}}">
|
<div style="display:none" id="popover-{{c.id}}">
|
||||||
<div class="popover-user-profile" role="tooltip">
|
<div class="popover-user-profile" role="tooltip">
|
||||||
<img class="w-100 h-64 object-cover" src="{{c.author.banner_url}}">
|
<img class="w-100 h-64 object-cover" src="{{c.author.banner_url}}">
|
||||||
<div class="d-flex align-items-end px-3 mt-n6 mb-3">
|
<div class="d-flex align-items-end px-3 mt-n6 mb-3">
|
||||||
<img class="avatar-72 rounded img-thumbnail shadow-sm" src="{{c.author.profile_url}}">
|
<img class="avatar-72 rounded img-thumbnail shadow-sm" src="{{c.author.profile_url}}">
|
||||||
<div class="px-3 text-truncate">
|
<div class="px-3 text-truncate">
|
||||||
<h5 class="text-truncate text-black">{{c.author.username}}</h5>
|
<h5 class="text-truncate text-black">{{c.author.username}}</h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-3">
|
<div class="px-3">
|
||||||
<span class="text-black">{% if c.author.bio_html %}{{c.author.bio_html.replace('data-src', 'src') | safe}}{% endif %}</span>
|
<span class="text-black">{% if c.author.bio_html %}{{c.author.bio_html.replace('data-src', 'src') | safe}}{% endif %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
|
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
|
||||||
<span>
|
<span>
|
||||||
<strong class="text-black">{{c.author.post_count}}</strong>
|
<strong class="text-black">{{c.author.post_count}}</strong>
|
||||||
<span class="text-black">posts</span>
|
<span class="text-black">posts</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="ml-3">
|
<span class="ml-3">
|
||||||
<strong class="text-black">{{c.author.comment_count}}</strong>
|
<strong class="text-black">{{c.author.comment_count}}</strong>
|
||||||
<span class="text-black">comments</span>
|
<span class="text-black">comments</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="ml-3">
|
<span class="ml-3">
|
||||||
<strong class="text-black">{{c.author.coins}}</strong>
|
<strong class="text-black">{{c.author.coins}}</strong>
|
||||||
|
@ -146,10 +146,10 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<a {% if v %}href="{{c.author.url}}"{% else %}href="/logged_out{{c.author.url}}"{% endif %} target="_blank" class="ml-auto text-decoration-none">
|
<a {% if v %}href="{{c.author.url}}"{% else %}href="/logged_out{{c.author.url}}"{% endif %} target="_blank" class="ml-auto text-decoration-none">
|
||||||
View
|
View
|
||||||
<i class="fas fa-arrow-right fa-sm px-1"></i>
|
<i class="fas fa-arrow-right fa-sm px-1"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue