8 lines
545 B
PHP
8 lines
545 B
PHP
{{-- MapleDeploy branding: show version without linking to upstream releases.
|
|
CI appends a .YYYYMMDDHHmm build timestamp to the upstream base version;
|
|
display only the base so the top bar doesn't overflow, keep the full
|
|
build string discoverable via the tooltip. --}}
|
|
@php($version = config('constants.coolify.version'))
|
|
@php($displayVersion = preg_replace('/\.\d{12}$/', '', $version))
|
|
|
|
<span title="v{{ $version }}" {{ $attributes->merge(['class' => 'text-xs opacity-90 dark:text-neutral-500']) }}>v{{ $displayVersion }}</span>
|