master
kek7198 2021-12-01 18:40:49 -06:00
parent f063d1e790
commit 299be5f058
2 changed files with 4 additions and 4 deletions

View File

@ -290,9 +290,9 @@
<div class="flex flex-col flex-shrink-0 items-center {{ 'mr-4' if not c.parent_comment_id or standalone else 'mr-3' }}">
<div class="relative avatar">
{% if standalone or level==1 %}
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-14 h-14 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-14 h-14 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} {{ 'santa' if c.author.patron else 'cap' }}"/>
{% else %}
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-9 h-9 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-9 h-9 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} {{ 'santa' if c.author.patron else 'cap' }}"/>
{% endif %}
</div>
<button onclick="collapse_comment('{{c.id}}')" class="ml-4 mb-2 w-4 h-full border-l border-gray-400"></button>
@ -320,7 +320,7 @@
<div class="flex items-center space-x-2 md:-ml-2 mb-1 text-sm text-gray-500 leading-normal">
<div class="relative avatar md:hidden">
<img loading="lazy" src="{{ c.author.profile_url }}" class="w-9 h-9 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
<img loading="lazy" src="{{ c.author.profile_url }}" class="w-9 h-9 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} {{ 'santa' if c.author.patron else 'cap' }}"/>
</div>
<a class="text-sm font-bold" data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="focus" data-content-id="popover-{{c.id}}" tabindex="0" style="color:#{{c.author.namecolor}};">

View File

@ -631,7 +631,7 @@
</div>
<div id="comment-form-space-{{p.fullname}}" class="comment-write flex">
<div class="relative flex-shrink-0 avatar mr-4">
<div class="hidden md:block relative flex-shrink-0 mr-4 {{ 'santa' if p.author.patron else 'cap' }}">
<img loading="lazy" src="{{v.profile_url}}" class="w-14 h-14 p-[3px] bg-white border border-gray-300 object-cover" alt="my avatar"/>
</div>
{% include "/comments/CommentForm.html" %}