Add location detail page showing devices and components at that location
Deploy to LXC / deploy (push) Successful in 17s
Deploy to LXC / deploy (push) Successful in 17s
- /locations/[id] shows all devices and stored components at a location - Breadcrumb navigation with parent location - Sub-location chips for navigating to children - Location names are clickable links everywhere: location list page, device detail sidebar, component detail current location Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -545,7 +545,9 @@
|
||||
<div>
|
||||
<dt class="text-gray-500 dark:text-gray-400">Location</dt>
|
||||
<dd class="text-gray-900 dark:text-white">
|
||||
{#if data.parentLocationName}{data.parentLocationName} › {/if}{data.device.locationName}
|
||||
<a href="/locations/{data.device.locationId}" class="hover:text-blue-600 dark:hover:text-blue-400">
|
||||
{#if data.parentLocationName}{data.parentLocationName} › {/if}{data.device.locationName}
|
||||
</a>
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user