This commit is contained in:
team3
2026-06-21 22:06:02 +02:00
parent 50b1c81bca
commit b4c686f74f
13 changed files with 41 additions and 57 deletions

View File

@@ -33,7 +33,7 @@ async function load() {
}
}
// Baustein relevant = hat ≥1 relevanten Subbaustein (gleiche Regel wie ProGuide).
// Baustein relevant = hat ≥1 relevanten Subbaustein (gleiche Regel wie der Guide).
// Ohne Relevanz-Daten (Alt-Themen) nicht dimmen.
function relevant(b) {
const mitRelevanz = (b.subbausteine || []).filter((s) => s.relevanz)
@@ -70,7 +70,7 @@ const subTotal = computed(() => items.value.reduce((n, b) => n + (b.subbausteine
:key="b.num"
class="bk-card"
:class="{ 'bk-irrelevant': !relevant(b) }"
:title="relevant(b) ? null : 'Nicht relevant — nur im FullGuide'"
:title="relevant(b) ? null : 'Nicht relevant — kommt später in den „Rest“'"
>
<h3 class="bk-title"><span class="bk-num">{{ b.num }}</span>{{ b.titel }}</h3>
<p v-if="b.beschreibung" class="bk-desc">{{ b.beschreibung }}</p>
@@ -79,7 +79,7 @@ const subTotal = computed(() => items.value.reduce((n, b) => n + (b.subbausteine
<span class="bk-stufe-label">{{ g.label }}</span>
<ul>
<li v-for="s in g.subs" :key="s.titel" :class="{ rand: s.relevanz === 'rand' }">
{{ s.titel }}<span v-if="s.relevanz === 'rand'" class="rand-tag" title="Randthema — nur im FullGuide">Rand</span>
{{ s.titel }}<span v-if="s.relevanz === 'rand'" class="rand-tag" title="Randthema — kommt später in den „Rest“">Rand</span>
</li>
</ul>
</div>