remotes/1693045480750635534/spooky-22
Aevann1 2021-10-21 22:52:30 +02:00
parent 64fa5e9631
commit 6370a85e87
1 changed files with 20 additions and 20 deletions

View File

@ -109,36 +109,36 @@
})()
{% if c.is_pinned %}
const pinned_info = document.getElementById('pinned-{{c.id}}')
{% if c.is_pinned.startswith('t:') %}
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{c.is_pinned[2:]}} * 1000).toString()}`)
{% else %}
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{c.is_pinned}}")
{%endif%}
const pinned_info = document.getElementById('pinned-{{c.id}}')
{% if c.is_pinned.startswith('t:') %}
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{c.is_pinned[2:]}} * 1000).toString()}`)
{% else %}
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{c.is_pinned}}")
{%endif%}
{%endif%}
})()
</script>
<div style="display:none" id="popover-{{c.id}}">
<div class="popover-user-profile" role="tooltip">
<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">
<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">
<img class="avatar-72 rounded img-thumbnail shadow-sm" src="{{c.author.profile_url}}">
<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 class="px-3">
</div>
<div class="px-3">
<span class="text-black">{% if c.author.bio_html %}{{c.author.bio_html.replace('data-src', 'src') | safe}}{% endif %}</span>
</div>
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
</div>
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
<span>
<strong class="text-black">{{c.author.post_count}}</strong>
<span class="text-black">posts</span>
<strong class="text-black">{{c.author.post_count}}</strong>
<span class="text-black">posts</span>
</span>
<span class="ml-3">
<strong class="text-black">{{c.author.comment_count}}</strong>
<span class="text-black">comments</span>
<strong class="text-black">{{c.author.comment_count}}</strong>
<span class="text-black">comments</span>
</span>
<span class="ml-3">
<strong class="text-black">{{c.author.coins}}</strong>
@ -146,10 +146,10 @@
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<a {% if v %}href="{{c.author.url}}"{% else %}href="/logged_out{{c.author.url}}"{% endif %} target="_blank" class="ml-auto text-decoration-none">
View
<i class="fas fa-arrow-right fa-sm px-1"></i>
View
<i class="fas fa-arrow-right fa-sm px-1"></i>
</a>
</div>
</div>
</div>
</div>