From 71987620c28ccfe0c79bcc3e71bd155def35d053 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Wed, 16 Dec 2020 18:26:01 +0100 Subject: [PATCH] Abwesenheit hinzu Button bug behoben --- .../__pycache__/counter_tag.cpython-38.pyc | Bin 20193 -> 20193 bytes standards/templatetags/counter_tag.py | 2 +- .../timemanagement/rendered_table.html | 5 +++++ .../timemanagement_management.html | 2 -- .../timemanagement/tm_ab_management.html | 20 +++++++++++++++++- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc index 5d253414860a62c4736e282618d831c62c5d1b10..a1e6c40a4e447addc5dd7cf75f4d371f4334f3ae 100644 GIT binary patch delta 83 zcmaDjm+|3TM&3|fUM>b8ka4&b&%TlO9-AQ}kjDhX&Oltu10-q~QW(t{Y8g_Pf*Dpa Z`@IAyC=v$|G9W@?@cC delta 54 zcmaDjm+|3TM&3|fUM>b8m?C~Ho@FENJ+{f0Y-9yiGW)$`1d0}kg9r(R$ro+KH|w)+ Gat8pkV-IQo diff --git a/standards/templatetags/counter_tag.py b/standards/templatetags/counter_tag.py index 8e8d408..0531c76 100644 --- a/standards/templatetags/counter_tag.py +++ b/standards/templatetags/counter_tag.py @@ -28,7 +28,7 @@ def getvar(): @register.simple_tag def incvar(): - global b + global user b += 1 return '' diff --git a/timemanagement/templates/timemanagement/rendered_table.html b/timemanagement/templates/timemanagement/rendered_table.html index 159bac5..4341eb1 100644 --- a/timemanagement/templates/timemanagement/rendered_table.html +++ b/timemanagement/templates/timemanagement/rendered_table.html @@ -227,6 +227,8 @@ {% if user|usergperm:"absencemanager" %} +