mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-26 21:37:22 +08:00
update filament to v4
fix torrent name
This commit is contained in:
@@ -4,18 +4,20 @@
|
||||
|
||||
<x-filament-widgets::widget class="fi-account-widget">
|
||||
<x-filament::section>
|
||||
<div class="flex items-center gap-x-3">
|
||||
<x-filament-panels::avatar.user
|
||||
size="lg"
|
||||
:user="$user"
|
||||
loading="lazy"
|
||||
/>
|
||||
|
||||
<div class="flex-1">
|
||||
<h2
|
||||
class="grid flex-1 text-base font-semibold leading-6 text-gray-950 dark:text-white"
|
||||
>
|
||||
{{ __('filament-panels::widgets/account-widget.welcome', ['app' => config('app.name')]) }},
|
||||
{{ filament()->getUserName($user) . '(' . $user->classText . ')' }}
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
<div class="fi-account-widget-main">
|
||||
<h2 class="fi-account-widget-heading">
|
||||
{{ __('filament-panels::widgets/account-widget.welcome', ['app' => config('app.name')]) }}
|
||||
</h2>
|
||||
|
||||
<p class="fi-account-widget-user-name">
|
||||
{{ filament()->getUserName($user) . ' (' . $user->classText . ')' }}
|
||||
</p>
|
||||
</div>
|
||||
</x-filament::section>
|
||||
</x-filament-widgets::widget>
|
||||
|
||||
Reference in New Issue
Block a user