feat(dashboard): a 3D button beside every property link

fmt.property(id, name) links a property's page and adds a small 3D button
straight to its 3D view. Used everywhere a property is linked: the
properties list and top slots, moderation, character pages' related
properties, UGC search and the UGC page's placements, the home page, the
chat log, player reports and report notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-28 19:09:29 -05:00
parent 93f4b051c6
commit 3c004fd36d
10 changed files with 16 additions and 10 deletions

View File

@@ -92,7 +92,7 @@
document.getElementById('worldSubtitle').innerHTML = 'Zone ' + esc(world.mapID) + ' · instance ' + esc(world.instanceID) + (world.cloneID ? ' · clone ' + esc(world.cloneID) : '') +
(world.ip ? ' · <code>' + esc(world.ip + ':' + world.port) + '</code>' : '') +
(world.ownerId ? ' · owned by ' + fmt.character(world.ownerId, world.ownerName) : '') +
(world.propertyId ? ' · ' + fmt.link('/properties/' + world.propertyId, 'property') : '');
(world.propertyId ? ' · ' + fmt.property(world.propertyId, 'property') : '');
document.getElementById('worldActions').innerHTML = can.worlds
? '<button type="button" class="btn btn-sm btn-outline-danger" id="worldShutdown">Shut down</button>' : '';
loadStats();