updated calendar widget to show "today" and "tomorrow"

This commit is contained in:
2026-01-23 16:47:56 +01:00
parent c45abb4e40
commit 83bb2c3b65
3 changed files with 21 additions and 4 deletions
+2 -2
View File
@@ -929,7 +929,7 @@ data:
{{ $isExtra := ge $i $showCount }}
{{ $isAllDay := $e.Bool "is_all_day" }}
{{ $title := $e.String "title" }}
{{ $startDate := $e.String "start_date" }}
{{ $startDate := $e.String "start_date_relative" }}
{{ $startTime := $e.String "start_time" }}
<div class="cal-item{{ if $isExtra }} cal-extra cal-hidden{{ end }}">
@@ -948,7 +948,7 @@ data:
{{ end }}
</div>
{{ if $hasMore }}
<label class="cal-toggle cal-toggle-more" for="cal-expand-fam">Show more ({{ sub $count $showCount }} more) ▼</label>
<label class="cal-toggle cal-toggle-more" for="cal-expand-fam">Show more ({{ sub $count $showCount }} additional) ▼</label>
<label class="cal-toggle cal-toggle-less" for="cal-expand-fam">Show less ▲</label>
{{ end }}
{{ end }}