mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: add support indicator for users
This commit is contained in:
@@ -63,7 +63,12 @@
|
||||
{{ else }}
|
||||
<span class="iconify inline cursor-pointer text-gray-500 rounded-full border-green-700" style="width: 24px; height: 24px" data-icon="ic:round-person"></span>
|
||||
{{ end }}
|
||||
<strong class="text-ellipsis truncate">@{{ $item.UserID }}</strong>
|
||||
<div>
|
||||
<strong class="text-ellipsis truncate">@{{ $item.UserID }}</strong>
|
||||
{{ if $item.User.HasActiveSubscription }}
|
||||
<span class="iconify inline text-gold ml-1" data-icon="jam:crown-f" style="margin-bottom: -2px" title="{{ $item.UserID }} is a supporter of Wakapi!"></span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-1 mx-1 hidden sm:inline-block truncate leading-6 align-middle">
|
||||
{{ range $i, $lang := (index $.UserLanguages $item.UserID) }}
|
||||
|
||||
@@ -66,7 +66,12 @@
|
||||
|
||||
<div class="shrink-0 menu-item relative" @click="state.showDropdownUser = !state.showDropdownUser" data-trigger-for="showDropdownUser">
|
||||
<div class="hidden md:flex flex flex-col text-right">
|
||||
<a class="text-gray-300">{{ .User.ID }}</a>
|
||||
<div>
|
||||
{{ if .User.HasActiveSubscription }}
|
||||
<span class="iconify inline text-gold mr-1" data-icon="jam:crown-f" style="margin-bottom: -2px" title="Thanks for supporting Wakapi!"></span>
|
||||
{{ end }}
|
||||
<a class="text-gray-300">{{ .User.ID }}</a>
|
||||
</div>
|
||||
{{ if .User.Email }}
|
||||
<span class="text-xxs text-gray-500">{{ .User.Email }}</span>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user