release(v2.0.0): bump version to 2.0.0 codename Pulsar
This commit is contained in:
1 parent
e54de57105
commit
2ed38846ae
2 files changed
+15
-16
No files matched your search
+4
-3
@@ -28,7 +28,8 @@ $companyLogo = trim($branding['company_logo'] ?? '');
|
||||
$hasBranding = !empty($companyName) || !empty($companyLogo);
|
||||
|
||||
$appVerData = file_exists(__DIR__ . '/../version.json') ? json_decode((string)file_get_contents(__DIR__ . '/../version.json'), true) : [];
|
||||
$appVersion = $appVerData['version'] ?? '1.5.0';
|
||||
$appVersion = $appVerData['version'] ?? '2.0.0';
|
||||
$appCodename = $appVerData['codename'] ?? 'Pulsar';
|
||||
|
||||
// Détection de l'environnement de développement : présence de .dev local ou branche git dev
|
||||
$isDevEnv = file_exists(__DIR__ . '/../.dev')
|
||||
@@ -230,7 +231,7 @@ $isDevEnv = file_exists(__DIR__ . '/../.dev')
|
||||
<div class="font-black text-white text-2xl tracking-tight leading-none">
|
||||
Nexus<span class="text-indigo-400">PBX</span>
|
||||
</div>
|
||||
<span id="app-version-badge" class="px-1.5 py-0.5 text-[10px] font-mono font-bold tracking-wider rounded bg-indigo-500/20 text-indigo-300 border border-indigo-500/30">v<?= htmlspecialchars($appVersion) ?></span>
|
||||
<span id="app-version-badge" class="px-1.5 py-0.5 text-[10px] font-mono font-bold tracking-wider rounded bg-indigo-500/20 text-indigo-300 border border-indigo-500/30">v<?= htmlspecialchars($appVersion) ?> <span class="hidden sm:inline font-sans font-normal opacity-80">« <?= htmlspecialchars($appCodename) ?> »</span></span>
|
||||
<?php if ($isDevEnv): ?>
|
||||
<span class="px-1.5 py-0.5 text-[10px] font-mono font-black tracking-wider rounded bg-amber-500/25 text-amber-300 border border-amber-500/50 shadow-xs shadow-amber-500/20 animate-pulse">DEV</span>
|
||||
<?php endif; ?>
|
||||
@@ -1779,7 +1780,7 @@ $isDevEnv = file_exists(__DIR__ . '/../.dev')
|
||||
<span id="update-dot" class="relative inline-flex rounded-full h-3 w-3 bg-emerald-500"></span>
|
||||
</span>
|
||||
<h3 class="text-base font-bold text-white">Mises à Jour du Système NexusPBX</h3>
|
||||
<span id="system-version-tag" class="px-2 py-0.5 text-xs font-mono font-bold rounded-lg bg-indigo-500/20 text-indigo-300 border border-indigo-500/30">v<?= htmlspecialchars($appVersion) ?></span>
|
||||
<span id="system-version-tag" class="px-2 py-0.5 text-xs font-mono font-bold rounded-lg bg-indigo-500/20 text-indigo-300 border border-indigo-500/30">v<?= htmlspecialchars($appVersion) ?> — <?= htmlspecialchars($appCodename) ?></span>
|
||||
</div>
|
||||
<p class="text-xs text-slate-300 mt-1">Vérifiez les nouvelles versions officielles et mettez à jour votre PBX en 1 clic sans coupure de service.</p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user