forked from rDrama/rDrama
fix
parent
1301240949
commit
29304466fc
|
@ -226,21 +226,23 @@
|
|||
<img loading="lazy" src="{{ c.author.profile_url }}" class="flex-shrink-0 w-9 h-9 p-[3px] bg-white border border-gray-300 object-cover lozad" alt="{{ c.author.username }} avatar"/>
|
||||
</div>
|
||||
|
||||
<a class="user-name" onclick='userPopover({{c.author.json_popover | tojson}})' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="focus" data-content-id="popover" href="javascript:void(0)" tabindex="0" style="color:#{{c.author.namecolor}};">
|
||||
<span class="text-sm font-bold">
|
||||
{% if c.author.patron and not c.distinguish_level %}
|
||||
<span class="patron" style="background-color:#{{c.author.namecolor}};">
|
||||
<span class="flex-shrink-0">
|
||||
<a class="user-name" onclick='userPopover({{c.author.json_popover | tojson}})' data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="focus" data-content-id="popover" href="javascript:void(0)" tabindex="0" style="color:#{{c.author.namecolor}};">
|
||||
<span class="text-sm font-bold">
|
||||
{% if c.author.patron and not c.distinguish_level %}
|
||||
<span class="patron" style="background-color:#{{c.author.namecolor}};">
|
||||
{{c.author.username}}
|
||||
</span>
|
||||
{% elif c.distinguish_level and 'rama' in request.host %}
|
||||
<span class="mod" style="background-color:#{{c.author.namecolor}};">
|
||||
{{c.author.username}}
|
||||
</span>
|
||||
{% else %}
|
||||
{{c.author.username}}
|
||||
{% endif %}
|
||||
</span>
|
||||
{% elif c.distinguish_level and 'rama' in request.host %}
|
||||
<span class="mod" style="background-color:#{{c.author.namecolor}};">
|
||||
{{c.author.username}}
|
||||
</span>
|
||||
{% else %}
|
||||
{{c.author.username}}
|
||||
{% endif %}
|
||||
</span>
|
||||
</a>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
{% if c.author.customtitle %}
|
||||
<bdi style="color: #{{c.author.titlecolor}}">
|
||||
|
|
Loading…
Reference in New Issue