From 2dc2622f4b88b603a5c49e32d338e6befa33460a Mon Sep 17 00:00:00 2001 From: ai-bot Date: Tue, 13 Oct 2026 08:06:05 +0000 Subject: [PATCH] Section 31 point 5: the key card shows the model or service --- static/app.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/app.js b/static/app.js index bdaab06..fb80a55 100644 --- a/static/app.js +++ b/static/app.js @@ -127,6 +127,15 @@ function createKeyCard(entry) { top.append(number, status); card.append(top, name, type); + // The model is documentation only: a hardware key has a model and a cloud key + // comes from a service, and an empty value is left out (section 31 point 5). + if (entry.model) { + const model = document.createElement("p"); + model.className = "key-model"; + model.textContent = `${entry.type === "cloud" ? "Service" : "Model"}: ${entry.model}`; + card.append(model); + } + // The dates stay visible with an open alert, so the card never hides the last // check and the next due date of a key that only needs an informational // follow-up (section 27).