mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30: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>
|
</div>
|
||||||
|
|
||||||
{{-- Mods --}}
|
{{-- Mods --}}
|
||||||
<div x-show="selectedTab === 'mods'" class="">
|
<div x-show="selectedTab === 'mods'">
|
||||||
@if($mods)
|
@if($mods->count())
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
{{ $mods->links() }}
|
{{ $mods->links() }}
|
||||||
</div>
|
</div>
|
||||||
@ -89,7 +89,9 @@
|
|||||||
{{ $mods->links() }}
|
{{ $mods->links() }}
|
||||||
</div>
|
</div>
|
||||||
@else
|
@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
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user