Mark WilkensXL build versions
Some checks failed
Container Image / build-and-push (push) Has been cancelled

This commit is contained in:
2026-07-15 22:06:24 +02:00
parent caffdaa38c
commit aa1293323e
8 changed files with 107 additions and 7 deletions

View File

@@ -305,7 +305,11 @@
const vr = await fetch('/api/version');
if (vr.ok) {
const vd = await vr.json();
document.getElementById('version-label').textContent = 'v' + vd.version;
const version = vd.full_version || vd.build_version || vd.version;
const upstream = vd.upstream_version && vd.upstream_version !== version
? ' (upstream ' + vd.upstream_version + ')'
: '';
document.getElementById('version-label').textContent = version ? 'v' + version + upstream : '';
}
} catch(e) {}