feat: enforce Europe/Istanbul timezone, fix PWA image proxy, add Monday weekly login sync, and standardize English routes
This commit is contained in:
parent
56274f479b
commit
93f0bcb7a1
16 changed files with 851 additions and 175 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<p class="page-subtitle">
|
||||
<%= t('privateLessons.subtitle') %>
|
||||
<% if (lastSynced) { %>
|
||||
• <span class="sync-time"><%= t('privateLessons.syncedLabel') %> <%= new Date(lastSynced).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) %></span>
|
||||
• <span class="sync-time"><%= t('privateLessons.syncedLabel') %> <%= formatTime(lastSynced) %></span>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<div class="student-profile-card">
|
||||
<div class="student-profile-main">
|
||||
<% if (formMeta.photoUrl) { %>
|
||||
<img src="<%= formMeta.photoUrl %>" alt="<%= formMeta.studentName %>" class="student-avatar" />
|
||||
<img src="<%= proxyImage(formMeta.photoUrl) %>" alt="<%= formMeta.studentName %>" class="student-avatar" onerror="this.style.display='none'" />
|
||||
<% } %>
|
||||
<div class="student-meta">
|
||||
<h3 class="student-name"><%= formMeta.studentName %></h3>
|
||||
|
|
@ -148,7 +148,7 @@
|
|||
</div>
|
||||
<div class="lesson-card-body">
|
||||
<% if (item.teacherPhoto) { %>
|
||||
<img src="<%= item.teacherPhoto %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" />
|
||||
<img src="<%= proxyImage(item.teacherPhoto) %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" onerror="this.style.display='none'" />
|
||||
<% } else { %>
|
||||
<div class="lesson-teacher-placeholder"><%= item.teacherName ? item.teacherName[0] : 'Ö' %></div>
|
||||
<% } %>
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
</div>
|
||||
<div class="lesson-card-body">
|
||||
<% if (item.teacherPhoto) { %>
|
||||
<img src="<%= item.teacherPhoto %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" />
|
||||
<img src="<%= proxyImage(item.teacherPhoto) %>" alt="<%= item.teacherName %>" class="lesson-teacher-photo" onerror="this.style.display='none'" />
|
||||
<% } else { %>
|
||||
<div class="lesson-teacher-placeholder"><%= item.teacherName ? item.teacherName[0] : 'Ö' %></div>
|
||||
<% } %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue