diff --git a/attendance/views/clock_in_out.py b/attendance/views/clock_in_out.py index 509ce2a72..b2693c874 100644 --- a/attendance/views/clock_in_out.py +++ b/attendance/views/clock_in_out.py @@ -172,7 +172,9 @@ def clock_in(request): ) return HttpResponse( """ - """.format( - check_in=_("Check-In") + check_in=_("Check-In"), + at_work_seconds_forecasted=employee.get_forecasted_at_work()[ + "forecasted_at_work_seconds" + ], ) ) diff --git a/templates/index.html b/templates/index.html index 343de9f0e..497b49fae 100755 --- a/templates/index.html +++ b/templates/index.html @@ -430,10 +430,14 @@ run = 1 {% else %} - {% endif %}