| | |
| | | <img src="/avatar/{{ chat.chat_id }}" alt="" |
| | | class="h-12 w-12 rounded-full bg-gray-200 object-cover dark:bg-gray-700" |
| | | onerror="this.style.visibility='hidden'"> |
| | | <div class="text-sm text-gray-500">id {{ chat.chat_id }} · {{ chat.type }}</div> |
| | | <div class="min-w-0 flex-1 text-sm text-gray-500">id {{ chat.chat_id }} · {{ chat.type }}</div> |
| | | <a href="/chats/{{ chat.chat_id }}/messages" target="_blank" rel="noopener" |
| | | class="shrink-0 rounded-lg border border-gray-200 px-3 py-1.5 text-sm text-brand-600 hover:bg-gray-100 dark:border-gray-700 dark:text-brand-400 dark:hover:bg-gray-800"> |
| | | Последние сообщения ↗ |
| | | </a> |
| | | </div> |
| | | |
| | | <section class="rounded-xl border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-800 dark:bg-gray-900"> |
| | |
| | | <span class="min-w-0 truncate"> |
| | | {{ "мут" if p.kind == "mute" else "бан" }} · |
| | | <a class="text-brand-600 hover:underline dark:text-brand-400" href="/users/{{ chat.chat_id }}/{{ p.user_id }}">{{ p.user_id }}</a> |
| | | · {{ fmt_dur(p.until) if p.until else "бессрочно" }} |
| | | · {{ fmt_dt(p.until) if p.until else "бессрочно" }} |
| | | {% if not p.active %}<span class="text-xs text-gray-400">(снято)</span>{% endif %} |
| | | </span> |
| | | <span class="ml-2 shrink-0 text-gray-500">{{ fmt_dt(p.created_at) }}</span> |