diff --git a/04_Tablet-Quiz/app/index.html b/04_Tablet-Quiz/app/index.html index 9a401dc..0a7c4fb 100644 --- a/04_Tablet-Quiz/app/index.html +++ b/04_Tablet-Quiz/app/index.html @@ -970,6 +970,12 @@ const STATION_ARTEFAKT = { const GATE_PRODUCES = { tr_12:"A8" }; // Geforderte Artefakte je Gate (HARTE Kopplung). const GATE_REQ = { tr_01:["A2","A3","A4"], tr_09:["A6","A7"], tr_12:["A6","A7","A2"] }; +// Stationen ohne eigenes Akte-Artefakt: Ergebnis fliesst in dieses A-Artefakt ein +// (nur dokumentierte Faelle; alle uebrigen Nicht-Akte-Stationen ohne Zuordnung). +const FOLDS_INTO = { + op_02:"A6", op_05:"A9", op_07:"A11", + sp_03:"A10", sp_04:"A10", sp_05:"A10", sp_06:"A10", sp_08:"A10", sp_10:"A11" +}; function addArtefakt(a){ if(a){ S.akte = S.akte || {}; S.akte[a] = true; } } // Beim Start nach Einstiegspunkt vorbefuellen: alles, was VOR der Einstiegs-Station @@ -1368,11 +1374,17 @@ function renderActivity(st){ const isLast = i === steps.length-1; const arteId = STATION_ARTEFAKT[st.id]; // A-Nummer, falls diese Station eine erzeugt const isArteChoice = step.artefakt && arteId; // Artefakt-Schritt mit echter Choice + const isNonAkte = step.artefakt && !arteId; // Station ohne eigenes Akte-Artefakt + const fold = FOLDS_INTO[st.id]; + + const frageHtml = isNonAkte + ? `Was ist das Arbeitsergebnis dieser Station? (Hier geht kein eigenes Artefakt in die Service-Akte.)` + : step.frage; let html = `
Schritt ${i+1}/${steps.length} · ${step.label}
Aufgabe ${i+1}
- ${step.frage} + ${frageHtml}
`; if(step.legend) html += step.legend; @@ -1390,6 +1402,11 @@ function renderActivity(st){

Was umfasst es?

${A.was}

Warum brauchen wir es?

${A.warum}

`; + } else if(isNonAkte){ + html += `
+

Arbeitsergebnis

${st.artefakt}

+

ℹ️ Kein eigenes Akte-Artefakt${fold?` — fließt in ${fold} ${ARTEFAKTE[fold].name} ein`:``}.

+
`; } else { html += `
${step.auf}
`; } diff --git a/04_Tablet-Quiz/app/sw.js b/04_Tablet-Quiz/app/sw.js index 36d13a1..8368c3b 100644 --- a/04_Tablet-Quiz/app/sw.js +++ b/04_Tablet-Quiz/app/sw.js @@ -1,5 +1,5 @@ /* Service Worker — SLC-Workshop Companion (App-Shell, offline-first) */ -const CACHE = "slc-companion-v11"; +const CACHE = "slc-companion-v12"; const SHELL = ["./", "index.html", "manifest.webmanifest", "icon.svg"]; // Action-Card-Grafiken (cards/s-c.png) fuer Offline vorab cachen (alle 30). const CARDS = [];