diff --git a/timemanagement/templates/timemanagement/timemanagement_singleview.html b/timemanagement/templates/timemanagement/timemanagement_singleview.html
index d4b7392..58cc887 100644
--- a/timemanagement/templates/timemanagement/timemanagement_singleview.html
+++ b/timemanagement/templates/timemanagement/timemanagement_singleview.html
@@ -23,12 +23,12 @@
|
|
- Start |
- Ende |
- Arbeitszeit |
- Pausen |
- Gesamtzeit |
- Gleitzeit |
+ Start |
+ Ende |
+ Arbeitszeit |
+ Pausen |
+ Gesamtzeit |
+ Gleitzeit |
|
@@ -214,7 +214,12 @@
{% counterWDUp %}
- {{workday.start|date:"H:i"}}
+
+ {% if workday.start == workday.end %}
+ Nichts gebucht
+ {% else %}
+ {{workday.start|date:"H:i"}}
+ {% endif %}
{% endif %}
{% endfor %}
{% endif %}
@@ -235,8 +240,10 @@
{% counterWDUp %}
-
- {{workday.end|date:"H:i"}}
+ {% if workday.start != workday.end %}
+ {{workday.end|date:"H:i"}}
+ {% endif %}
+
{% endif %}
{% endfor %}
@@ -252,7 +259,9 @@
{% endif %}
{% counterWDUp %}
- {% getsumworkday workday as sumwd %}
+ {% if workday.start != workday.end %}
+ {% getsumworkday workday as sumwd %}
+ {% endif %}
{{sumwd}}
{% endif %}
{% endfor %}
@@ -272,7 +281,13 @@
{% counterWDUp %}
{% getsumbreak workday as sumbreakofday %}
- {{sumbreakofday}} min. ({{workday.breaks.all|length}})
+ {% if workday.start != workday.end %}
+ {% if workday.breaks.all|length > 0 %}
+ {{sumbreakofday}} min. ({{workday.breaks.all|length}})
+ {% else %}
+ Keine Pausen
+ {% endif %}
+ {% endif %}
{% endif %}
{% endfor %}
@@ -292,7 +307,10 @@
{% counterWDUp %}
{% getsumworkdayexcludebreak workday as sumworkday %}
- {{ sumworkday }}
+ {% if workday.start != workday.end %}
+ {{ sumworkday }}
+ {% endif %}
+
{% endif %}
{% endfor %}
diff --git a/timemanagement/templates/timemanagement/timemanagement_teamview_single.html b/timemanagement/templates/timemanagement/timemanagement_teamview_single.html
index 3310ab2..cf49cf0 100644
--- a/timemanagement/templates/timemanagement/timemanagement_teamview_single.html
+++ b/timemanagement/templates/timemanagement/timemanagement_teamview_single.html
@@ -29,12 +29,12 @@
|
|
- Start |
- Ende |
- Arbeitszeit |
- Pausen |
- Gesamtzeit |
- Gleitzeit |
+ Start |
+ Ende |
+ Arbeitszeit |
+ Pausen |
+ Gesamtzeit |
+ Gleitzeit |
|
@@ -211,7 +211,11 @@
{% counterWDUp %}
- {{workday.start|date:"H:i"}}
+ {% if workday.start == workday.end %}
+ Nichts gebucht
+ {% else %}
+ {{workday.start|date:"H:i"}}
+ {% endif %}
{% endif %}
{% endfor %}
{% endif %}
@@ -228,7 +232,10 @@
{% endif %}
{% counterWDUp %}
- {{workday.end|date:"H:i"}}
+ {% if workday.start != workday.end %}
+ {{workday.end|date:"H:i"}}
+ {% endif %}
+
{% endif %}
{% endfor %}
@@ -242,7 +249,9 @@
{% endif %}
{% counterWDUp %}
- {% getsumworkday workday as sumwd %}
+ {% if workday.start != workday.end %}
+ {% getsumworkday workday as sumwd %}
+ {% endif %}
{{sumwd}}
{% endif %}
{% endfor %}
@@ -258,7 +267,14 @@
{% endif %}
{% counterWDUp %}
{% getsumbreak workday as sumbreakofday %}
- {{sumbreakofday}} min. ({{workday.breaks.all|length}})
+ {% if workday.start != workday.end %}
+ {% if workday.breaks.all|length > 0 %}
+ {{sumbreakofday}} min. ({{workday.breaks.all|length}})
+ {% else %}
+ Keine Pausen
+ {% endif %}
+ {% endif %}
+
{% endif %}
{% endfor %}
@@ -273,7 +289,9 @@
{% endif %}
{% counterWDUp %}
{% getsumworkdayexcludebreak workday as sumworkday %}
- {{ sumworkday }}
+ {% if workday.start != workday.end %}
+ {{ sumworkday }}
+ {% endif %}
{% endif %}
{% endfor %}
diff --git a/users/templates/users/base.html b/users/templates/users/base.html
index 4a78fbb..043b5f1 100644
--- a/users/templates/users/base.html
+++ b/users/templates/users/base.html
@@ -356,7 +356,7 @@
Impressum
- Version 1.0.5
+ Version 1.0.7