Path: heading reads מה נתרגל היום? instead of במה נתרגל היום? (#1)
Browse filesClaude-Session: https://claude.ai/code/session_011XVGkAsva3pSS6u4MFvghb
Co-authored-by: Claude <noreply@anthropic.com>
- mathly2/static/path.js +1 -1
mathly2/static/path.js
CHANGED
|
@@ -78,7 +78,7 @@ export async function showSubjects(view) {
|
|
| 78 |
const path = await api("/api/path");
|
| 79 |
const total = path.lessons.reduce((n, l) => n + l.skills.length, 0), lit = path.lessons.reduce((n, l) => n + l.mastered, 0);
|
| 80 |
view(`<section class="subjects" aria-label="מקצועות">
|
| 81 |
-
<h2>
|
| 82 |
<a class="subject-card" href="${HOME}" data-subject="מתמטיקה"><span class="subject-icon" aria-hidden="true">∑</span>
|
| 83 |
<span class="grow"><b>מתמטיקה כיתה ט - מצוינות</b>
|
| 84 |
<span class="bar" role="progressbar" aria-label="מיומנויות שהושלמו" aria-valuemin="0" aria-valuemax="${total}" aria-valuenow="${lit}"><i style="width:${total ? Math.round(100 * lit / total) : 0}%"></i></span>
|
|
|
|
| 78 |
const path = await api("/api/path");
|
| 79 |
const total = path.lessons.reduce((n, l) => n + l.skills.length, 0), lit = path.lessons.reduce((n, l) => n + l.mastered, 0);
|
| 80 |
view(`<section class="subjects" aria-label="מקצועות">
|
| 81 |
+
<h2>מה נתרגל היום?</h2>
|
| 82 |
<a class="subject-card" href="${HOME}" data-subject="מתמטיקה"><span class="subject-icon" aria-hidden="true">∑</span>
|
| 83 |
<span class="grow"><b>מתמטיקה כיתה ט - מצוינות</b>
|
| 84 |
<span class="bar" role="progressbar" aria-label="מיומנויות שהושלמו" aria-valuemin="0" aria-valuemax="${total}" aria-valuenow="${lit}"><i style="width:${total ? Math.round(100 * lit / total) : 0}%"></i></span>
|