forked from MarseyWorld/MarseyWorld
add "owner" icon to ping groups member list
parent
fe0b8887bc
commit
1115877725
|
@ -7181,6 +7181,10 @@ input[type=number] {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.group-owner {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.award-tab {
|
||||
font-size: 10px !important;
|
||||
|
@ -7199,4 +7203,8 @@ input[type=number] {
|
|||
#ping-groups .members {
|
||||
padding-right: 3.7rem !important;
|
||||
}
|
||||
|
||||
.group-owner {
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,10 +27,14 @@
|
|||
{% for membership in memberships %}
|
||||
<tr id="{{membership.user_id}}">
|
||||
<td id="counter-{{membership.user_id}}">{{loop.index}}</td>
|
||||
<td>
|
||||
{% set owner = name == 'members' and loop.index == 1 %}
|
||||
<td {% if owner %}class="unbreakable"{% endif %}>
|
||||
{% with user=membership.user %}
|
||||
{% include "user_in_table.html" %}
|
||||
{% endwith %}
|
||||
{% if owner %}
|
||||
<img class="mx-2 group-owner" data-bs-toggle="tooltip" alt="Owner" title="Owner" src="/e/marseykingretard.webp">
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
{% if name == 'members' %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{%- include 'admin/shadowbanned_tooltip.html' -%}
|
||||
{% if user %}
|
||||
<a data-sort-key="{{user.username.lower()}}" style="color:#{{user.name_color}};font-weight:bold" href="/@{{user.username}}">
|
||||
<div class="profile-pic-20-wrapper mb-2 {% if request.path != '/ping_groups' %}mr-1 float-left{% endif %}">
|
||||
<div class="profile-pic-20-wrapper mb-2">
|
||||
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
|
||||
{% if user.hat_active(v)[0] -%}
|
||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active(v)[0]}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_active(v)[1]}}">
|
||||
|
|
Loading…
Reference in New Issue