@@ -142,8 +142,11 @@ templ defaultDayComponent(day models.IWorkDay) {
|
||||
<input type="hidden" name="action" value="change"/> <!-- default action value for ändern button -->
|
||||
</form>
|
||||
</div>
|
||||
<div class="grid-cell flex flex-row gap-2 items-end">
|
||||
@changeButtonComponent("time-"+day.Date().Format(time.DateOnly), true)
|
||||
<div class="grid-cell flex flex-row gap-2 items-end ">
|
||||
@changeButtonComponent("time-"+day.Date().Format(time.DateOnly), true, day.IsSubmittedAndAccepted())
|
||||
if day.IsSubmittedAndAccepted() {
|
||||
<span class="size-6 my-2 icon-[material-symbols-light--lock]"></span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user