diff --git a/dasettings/forms.py b/dasettings/forms.py index cde0882..688d3e4 100644 --- a/dasettings/forms.py +++ b/dasettings/forms.py @@ -465,6 +465,7 @@ class AbsenceReasonForm(forms.ModelForm): "name" : "Bezeichnung", "need_confirm" : "Muss bestätigt werden", "need_rep" : "Muss vertreten werden", - "is_holiday" : "Geht vom Urlaub ab" + "is_holiday" : "Geht vom Urlaub ab", + "is_time" : "Geht vom Gleitzeitkonto ab" } - fields = ["name", "need_confirm", "need_rep", "is_holiday", "rgb_color"] + fields = ["name", "need_confirm", "need_rep", "is_holiday", "is_time", "rgb_color"] diff --git a/dasettings/templates/dasettings/modulesettings_timemanagement.html b/dasettings/templates/dasettings/modulesettings_timemanagement.html index 570c9e7..df4a99a 100644 --- a/dasettings/templates/dasettings/modulesettings_timemanagement.html +++ b/dasettings/templates/dasettings/modulesettings_timemanagement.html @@ -9,6 +9,7 @@ Bezeichnung Bestätigung Vertretung + Gleitzeit Urlaubstag Farbe   @@ -20,6 +21,7 @@ {{ab.name}} {% if ab.need_confirm %} {% else %} {% endif %} {% if ab.need_rep %} {% else %} {% endif %} + {% if ab.is_time %} {% endif %} {% if ab.is_holiday %} {% endif %} diff --git a/dasettings/templates/dasettings/user_usprof.html b/dasettings/templates/dasettings/user_usprof.html index b0bf7cf..2bc3663 100644 --- a/dasettings/templates/dasettings/user_usprof.html +++ b/dasettings/templates/dasettings/user_usprof.html @@ -223,7 +223,7 @@
Urlaub Jahresübersicht  - +
@@ -339,7 +339,6 @@ - - - + +