From 47b8be9670f413cd573f0dafd7248c0b08a7f55c Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Thu, 7 Oct 2021 19:39:17 +0200 Subject: [PATCH] Ansicht ADM --- adm/forms.py | 5 +- adm/templates/adm/adm_base.html | 11 ++++ adm/templates/adm/adm_tmworkday.html | 53 ++++++++++++++++++ adm/urls.py | 1 + adm/views.py | 11 ++++ .../__pycache__/counter_tag.cpython-38.pyc | Bin 24918 -> 25330 bytes standards/templatetags/counter_tag.py | 14 +++++ 7 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 adm/templates/adm/adm_tmworkday.html diff --git a/adm/forms.py b/adm/forms.py index aeacad6..2f245a7 100644 --- a/adm/forms.py +++ b/adm/forms.py @@ -22,11 +22,12 @@ class AdmWorkdayForm(forms.ModelForm): "start" : "Start", "end" : "Ende", "target" : "Zielarbeitszeit", - "freefield" : "Notiz" + "freefield" : "Notiz", + "delflag" : "Nicht berücksichtigen (delflag)" } fields = [ - "start", "end", "target", "freefield" + "start", "end", "target", "freefield", "delflag" ] widgets = { 'start': DatePickerInput(options={"format":'DD.MM.YYYY HH:mm', "locale":'de'}), diff --git a/adm/templates/adm/adm_base.html b/adm/templates/adm/adm_base.html index 6d03f8a..c5a6dc8 100644 --- a/adm/templates/adm/adm_base.html +++ b/adm/templates/adm/adm_base.html @@ -118,6 +118,17 @@ Benutzer + + {% if active_link == 'adm-tm-wd-bug' %} + +