diff --git a/templates/admin.php b/templates/admin.php index 73c19da..f67f3be 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -106,6 +106,7 @@ function adminStatusBadge(array $a, int $now): string $_notices = isset($_updateChecker) ? $_updateChecker->adminNotices() : []; $_branch = isset($_updateChecker) ? $_updateChecker->getBranch() : 'main'; $_lastChecked = isset($_updateChecker) ? $_updateChecker->getLastChecked() : null; + $_repoConfigured = (($_ENV['FOLIO_REPO_URL'] ?? getenv('FOLIO_REPO_URL') ?: '') !== ''); $_remoteLabel = '—'; foreach ($_notices as $_n) { if ($_n['type'] === 'info' && preg_match('/v([\d]+\.[\d]+\.[\d]+)/', $_n['message'], $_m)) { @@ -126,9 +127,13 @@ function adminStatusBadge(array $a, int $now): string
FOLIO_REPO_URL non configuré)
+