diff --git a/sites/billableaua.de/index.html b/sites/billableaua.de/index.html index e7db898..f5a75c8 100644 --- a/sites/billableaua.de/index.html +++ b/sites/billableaua.de/index.html @@ -419,7 +419,18 @@ '= ' + workingDays + ' Arbeitstage

' + '' + hours.toLocaleString('de-DE') + ' Stunden ÷ ' + workingDays + ' Tage = ' + '' + perDayStr + ' Stunden billable pro Tag.' + - verdict; + verdict + + '' + + 'Ein Tag krank? Dann sind es ' + + (workingDays > 1 ? (hours / (workingDays - 1)).toFixed(1).replace('.', ',') : '∞') + + ' Stunden auf ' + (workingDays - 1) + ' Tage.' + + ' Noch ein Tag? ' + + (workingDays > 2 ? (hours / (workingDays - 2)).toFixed(1).replace('.', ',') : '∞') + + '.' + + ' Eine Woche? ' + + (workingDays > 5 ? (hours / (workingDays - 5)).toFixed(1).replace('.', ',') : '∞') + + '.' + + '
Jeder verpasste Tag erhöht den Druck auf alle anderen.
'; } document.getElementById('hours').addEventListener('input', calculate);