diff --git a/frontend/src/label-layouts.js b/frontend/src/label-layouts.js index 1e49d8a..94d6413 100644 --- a/frontend/src/label-layouts.js +++ b/frontend/src/label-layouts.js @@ -65,6 +65,15 @@ export const LABEL_TEMPLATES = [ content: c => c.id?.toString().padStart(4, "0") }] }, + { + id: "mqr-token-id", name: "MQR Token + ID", + description: "The code encoding the internal short id, with the id printed alongside for a human to read.", + required_vars: ["shortId", "id"], tags: ["internal"], + layout: [{type: "rmqr", content: c => c.shortId}, { + type: "text", + content: c => c.typedPrefix?.toUpperCase() + c.id?.toString().padStart(4, "0") + }] + }, { id: "domain-short-id-qr", name: "Any-Instance Token (QR)", description: "The code encoding the domain-qualified short id (domain:~token) - resolvable "