forked from MarseyWorld/MarseyWorld
fix
parent
82ce9c5cfa
commit
4e18df8b3e
|
@ -56,14 +56,23 @@
|
|||
</thead>
|
||||
<tbody class="bg-gray-100 divide-y divide-gray-300">
|
||||
{% for vote in ups %}
|
||||
<tr class="shadow-inset-t-white-05 {% if awards.index(a) % 2 != 0 %}bg-gray-200{% endif %}">
|
||||
<tr class="shadow-inset-t-white-05 odd:bg-gray-200">
|
||||
<td class="px-6 py-4 whitespace-nowrap">
|
||||
<div class="flex items-center">
|
||||
<div class="flex items-center justify-center flex-shrink-0 h-10 w-10">
|
||||
fix
|
||||
<img src="{{vote.user.profile_url}}" class="p-[3px] border w-12 h-12 object-cover {{ 'bg-red-800 border-red-900' if v.username == vote.user.username else 'bg-white border-gray-300' }}" alt="{{ vote.user.username }} avatar"/>
|
||||
</div>
|
||||
<!-- User Details -->
|
||||
|
||||
<div class="ml-3">
|
||||
<a class="block font-heading font-bold text-xl text-black hover:text-red-600" href="/@{{user.username}}">
|
||||
{{vote.user.username}}
|
||||
</a>
|
||||
{% if vote.user.customtitle %}
|
||||
<p class="text-sm" style="#{{vote.user.namecolor}}">
|
||||
{{vote.user.customtitle | safe}}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue