mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 12:42:15 +01:00
Added fallback for local env to server overview widget
This commit is contained in:
committed by
Gregor Vostrak
parent
2372ee0622
commit
7af1990935
@@ -1,11 +1,23 @@
|
||||
<x-filament-widgets::widget>
|
||||
<x-filament::section>
|
||||
<div>
|
||||
<span class="text-gray-950 font-bold">Version</span> <span>v{{ $version }}</span><br>
|
||||
<span class="text-gray-950 font-bold">Build</span> {{ $build }}
|
||||
<span class="text-gray-950 font-bold">Version</span>
|
||||
@if($version !== null)
|
||||
<span>v{{ $version }}</span>
|
||||
@else
|
||||
<span>-</span>
|
||||
@endif
|
||||
<br>
|
||||
<span class="text-gray-950 font-bold">Build</span>
|
||||
@if($build !== null)
|
||||
<span>{{ $build }}</span>
|
||||
@else
|
||||
<span>-</span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
@if ($currentVersion !== null)
|
||||
@if ($currentVersion !== null && $version !== null)
|
||||
<div class="mt-4 inline-flex items-center justify-center gap-1">
|
||||
@if ($needsUpdate)
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user