forked from MarseyWorld/MarseyWorld
add tooltip to owned ping groups on profile
parent
732932fd60
commit
7c9de9f78a
|
@ -170,7 +170,7 @@
|
|||
<div class="text-white rounded p-2 mb-3" id="profile--groups" style="background-color: rgba(50, 50, 50, 0.6); width: 30%">
|
||||
<p class="text-uppercase my-0 pb-1" style="font-weight: bold; font-size: 12px">Member of</p>
|
||||
{% for i in u.group_memberships %}
|
||||
<span class="d-inline-block mx-1 {% if u.id == i[1].owner.id %}font-weight-bolder{% endif %}">
|
||||
<span class="d-inline-block mx-1 {% if u.id == i[1].owner.id %}font-weight-bolder{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Owner">
|
||||
<a href="/!{{i[0]}}" {% if u.id == i[1].owner.id %}style="color: #bbb !important"{% endif %}>!{{i[0]}}</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
@ -471,7 +471,7 @@
|
|||
<div class="text-white rounded p-2 mt-3 mb-3" id="profile-mobile--groups" style="background-color: rgba(50, 50, 50, 0.6)">
|
||||
<p class="text-uppercase my-0 pb-1" style="font-weight: bold; font-size: 12px">Member of</p>
|
||||
{% for i in u.group_memberships %}
|
||||
<span class="d-inline-block mx-1 {% if u.id == i[1].owner.id %}font-weight-bolder{% endif %}">
|
||||
<span class="d-inline-block mx-1 {% if u.id == i[1].owner.id %}font-weight-bolder{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Owner">
|
||||
<a href="/!{{i[0]}}">!{{i[0]}}</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue