fixed #28
All checks were successful
Tests / Run Go Tests (push) Successful in 28s

This commit is contained in:
2025-09-05 10:36:26 +02:00
parent 9d70d4db17
commit de03c100d4
8 changed files with 242 additions and 205 deletions

View File

@@ -57,11 +57,13 @@ templ dayComponent(workDay models.WorkDay, submitted bool) {
if (workDay.RequiresAction()) {
<p class="text-red-600">Bitte anpassen</p>
} else {
<p class=" text-accent">{ work }</p>
}
<p class="text-neutral-500 flex flex-row items-center"><span class="icon-[material-symbols-light--motion-photos-paused-outline]"></span>{ pause }</p>
if overtime != "" {
<p class="text-neutral-500 flex flex-row items-center"><span class="icon-[material-symbols-light--more-time]"></span>{ overtime }</p>
<p class="text-accent">{ work }</p>
if pause != "" {
<p class="text-neutral-500 flex flex-row items-center"><span class="icon-[material-symbols-light--motion-photos-paused-outline]"></span>{ pause }</p>
}
if overtime != "" {
<p class="text-neutral-500 flex flex-row items-center"><span class="icon-[material-symbols-light--more-time]"></span>{ overtime }</p>
}
}
}
</div>