mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Profile Detail Page
Resolves an issue where the no-mods message didn't show up if the user doesn't have any mods uploaded. Adds some style to the message as well.
This commit is contained in:
parent
b895cdc922
commit
ca472efbbf
@ -75,8 +75,8 @@
|
||||
</div>
|
||||
|
||||
{{-- Mods --}}
|
||||
<div x-show="selectedTab === 'mods'" class="">
|
||||
@if($mods)
|
||||
<div x-show="selectedTab === 'mods'">
|
||||
@if($mods->count())
|
||||
<div class="mb-4">
|
||||
{{ $mods->links() }}
|
||||
</div>
|
||||
@ -89,7 +89,9 @@
|
||||
{{ $mods->links() }}
|
||||
</div>
|
||||
@else
|
||||
<p>{{ __('This user has not yet published any mods.') }}</p>
|
||||
<p class="p-4 sm:p-6 bg-white dark:bg-gray-950 rounded-xl shadow-md dark:shadow-gray-950 text-gray-800 dark:text-gray-200 drop-shadow-2xl">
|
||||
{{ __('This user has not yet published any mods.') }}
|
||||
</p>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user