Commit 49a00d61 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

feat: show oauth sub in admin panel

parent 983112d1
......@@ -355,6 +355,7 @@
"Notifications": "알림",
"November": "11월",
"num_thread (Ollama)": "num_thread (올라마)",
"OAuth ID": "",
"October": "10월",
"Off": "끄기",
"Okay, Let's Go!": "좋아요, 시작합시다!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Pranešimai",
"November": "lapkritis",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "spalis",
"Off": "Išjungta",
"Okay, Let's Go!": "Gerai, važiuojam!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Varsler",
"November": "November",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober",
"Off": "Av",
"Okay, Let's Go!": "Ok, la oss gå!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Desktop Notificaties",
"November": "November",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Oktober",
"Off": "Uit",
"Okay, Let's Go!": "Okay, Laten we gaan!",
......
......@@ -355,6 +355,7 @@
"Notifications": "ਸੂਚਨਾਵਾਂ",
"November": "ਨਵੰਬਰ",
"num_thread (Ollama)": "num_thread (ਓਲਾਮਾ)",
"OAuth ID": "",
"October": "ਅਕਤੂਬਰ",
"Off": "ਬੰਦ",
"Okay, Let's Go!": "ਠੀਕ ਹੈ, ਚੱਲੋ ਚੱਲੀਏ!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Powiadomienia",
"November": "Listopad",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Październik",
"Off": "Wyłączony",
"Okay, Let's Go!": "Okej, zaczynamy!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho",
"November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro",
"Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Notificações da Área de Trabalho",
"November": "Novembro",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Outubro",
"Off": "Desligado",
"Okay, Let's Go!": "Ok, Vamos Lá!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Уведомления на рабочем столе",
"November": "Ноябрь",
"num_thread (Ollama)": "num_thread (Оллама)",
"OAuth ID": "",
"October": "Октябрь",
"Off": "Выключено.",
"Okay, Let's Go!": "Давайте начнём!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Обавештења",
"November": "Новембар",
"num_thread (Ollama)": "нум _тхреад (Оллама)",
"OAuth ID": "",
"October": "Октобар",
"Off": "Искључено",
"Okay, Let's Go!": "У реду, хајде да кренемо!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Notifikationer",
"November": "november",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "oktober",
"Off": "Av",
"Okay, Let's Go!": "Okej, nu kör vi!",
......
......@@ -355,6 +355,7 @@
"Notifications": "",
"November": "",
"num_thread (Ollama)": "",
"OAuth ID": "",
"October": "",
"Off": "",
"Okay, Let's Go!": "",
......
......@@ -355,6 +355,7 @@
"Notifications": "Bildirimler",
"November": "Kasım",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Ekim",
"Off": "Kapalı",
"Okay, Let's Go!": "Tamam, Hadi Başlayalım!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Сповіщення",
"November": "Листопад",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Жовтень",
"Off": "Вимк",
"Okay, Let's Go!": "Гаразд, давайте почнемо!",
......
......@@ -355,6 +355,7 @@
"Notifications": "Thông báo trên máy tính (Notification)",
"November": "Tháng 11",
"num_thread (Ollama)": "num_thread (Ollama)",
"OAuth ID": "",
"October": "Tháng 10",
"Off": "Tắt",
"Okay, Let's Go!": "Được rồi, Bắt đầu thôi!",
......
......@@ -355,6 +355,7 @@
"Notifications": "桌面通知",
"November": "十一月",
"num_thread (Ollama)": "num_thread(Ollama)",
"OAuth ID": "",
"October": "十月",
"Off": "关闭",
"Okay, Let's Go!": "确认,开始使用!",
......
......@@ -355,6 +355,7 @@
"Notifications": "桌面通知",
"November": "11月",
"num_thread (Ollama)": "num_thread(奧拉馬)",
"OAuth ID": "",
"October": "10 月",
"Off": "關閉",
"Okay, Let's Go!": "好的,啟動吧!",
......
......@@ -195,6 +195,18 @@
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('oauth_sub')}
>
{$i18n.t('OAuth ID')}
{#if sortKey === 'oauth_sub'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
......@@ -283,6 +295,8 @@
</td>
<td class=" px-3 py-2"> {user.email} </td>
<td class=" px-3 py-2"> {user.oauth_sub ?? ""} </td>
<td class=" px-3 py-2">
{dayjs(user.last_active_at * 1000).fromNow()}
</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment