diff --git a/static/index.html b/static/index.html index 938dc73..af9008a 100644 --- a/static/index.html +++ b/static/index.html @@ -698,8 +698,13 @@ function saveMachineIdInline(input, photoId, cancel) { (a.status === 'active' ? ' ๐ŸŸข Active' : ''); } if (infoEl) { - const parts = [a.location_name, a.building, a.floor, a.zone].filter(Boolean); - infoEl.innerHTML = parts.join(' ยท ') || '(No location details)'; + let info = ''; + if (a.building_name) info += '๐Ÿข ' + esc(a.building_name) + ' '; + if (a.floor) info += '๐Ÿ“ถ Floor ' + esc(a.floor) + ' '; + if (a.room) info += '๐Ÿšช ' + esc(a.room) + ' '; + if (a.address) info += '๐Ÿ  ' + esc(a.address); + if (a.make || a.model) info += '๐Ÿ”ง ' + esc(a.make || '') + ' ' + esc(a.model || ''); + infoEl.innerHTML = info || '(No location details)'; } } else { if (assetEl) assetEl.innerHTML = 'โš ๏ธ No asset match for ' + esc(val) + '';