Label: add | separator between brand and model
Deploy to LXC / deploy (push) Successful in 19s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 10:20:38 +07:00
parent e7638d5268
commit 342d6f0c19
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
<div style="margin-top: 1mm;"> <div style="margin-top: 1mm;">
{#if label.brand || label.model} {#if label.brand || label.model}
<div style="font-size: 6.5pt; color: #444; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;"> <div style="font-size: 6.5pt; color: #444; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;">
{[label.brand, label.model].filter(Boolean).join(' ')} {[label.brand, label.model].filter(Boolean).join(' | ')}
</div> </div>
{/if} {/if}
{#if label.serialNumber} {#if label.serialNumber}
@@ -47,7 +47,7 @@
<div style="margin-top: 1mm;"> <div style="margin-top: 1mm;">
{#if data.device.brand || data.device.model} {#if data.device.brand || data.device.model}
<div style="font-size: 6.5pt; color: #444; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;"> <div style="font-size: 6.5pt; color: #444; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;">
{[data.device.brand, data.device.model].filter(Boolean).join(' ')} {[data.device.brand, data.device.model].filter(Boolean).join(' | ')}
</div> </div>
{/if} {/if}
{#if data.device.serialNumber} {#if data.device.serialNumber}