Refonte brutaliste, gamification affichée, écrans semaine, poids, données, profil, analyses, propositions avec aperçu #11
@@ -70,7 +70,7 @@ export function weekScreen({ store, nav, today }) {
|
||||
const row = (r) => {
|
||||
const label = r.slot ? slotLabel(r.slot, program) : null;
|
||||
const title = label ? label.title : r.lock === "rest" ? "Repos imposé" : r.available ? "Libre" : "Off";
|
||||
let detail = label ? label.detail : r.available ? "disponible, rien à placer" : "";
|
||||
let detail = label ? label.detail : r.lock === "rest" ? "" : r.available ? "disponible, rien à placer" : "";
|
||||
if (r.lock && r.slot) detail += " · imposé";
|
||||
if (r.status?.done && r.status.shifted && r.status.date) detail += ` · faite ${dayName(r.status.date)}`;
|
||||
const state = r.status?.done ? "✓ Fait" : r.skipped ? "✕ Non fait" : "";
|
||||
|
||||
Reference in New Issue
Block a user