improved duration and minute selector (#2264)

* do not close modal if form is dirty
* deprecated TimesheetConfiguration
* inject timezone in form types
* cleanup usage of UserDateTimeFactory
* allow to configure increment steps for minutes
* use 15 minutes step for datetimepicker in project edit form
* use rounding rules for increments in minute select for begin and end
* allow duration in multi user and admin timesheet forms
* make dropdown values configurable
This commit is contained in:
Kevin Papst
2021-01-17 14:04:13 +01:00
committed by GitHub
parent e2324b7d51
commit 8d72d114c7
95 changed files with 1381 additions and 510 deletions

View File

@@ -84,6 +84,10 @@
<source>sum.total</source>
<target>Gesamt</target>
</trans-unit>
<trans-unit id="modal.dirty">
<source>modal.dirty</source>
<target>Das Formular wurde geändert. Bitte klicken Sie "Speichern" um die Änderungen zu sichern oder "Schließen" um abzubrechen.</target>
</trans-unit>
<!--
Login / Security
-->

View File

@@ -84,6 +84,10 @@
<source>sum.total</source>
<target>Total</target>
</trans-unit>
<trans-unit id="modal.dirty">
<source>modal.dirty</source>
<target>The form has changed. Please click "Save" to save the changes or "Close" to cancel.</target>
</trans-unit>
<!--
Login / Security
-->

View File

@@ -226,6 +226,22 @@
<source>first_weekday</source>
<target>Erster Tag der Woche</target>
</trans-unit>
<trans-unit id="label.timesheet.duration_increment">
<source>label.timesheet.duration_increment</source>
<target>Minuten Auswahl für Dauer</target>
</trans-unit>
<trans-unit id="label.timesheet.time_increment">
<source>label.timesheet.time_increment</source>
<target>Minuten Auswahl für Von &amp; Bis</target>
</trans-unit>
<trans-unit id="increment_rounding">
<source>increment_rounding</source>
<target>Verwende konfigurierten Wert der Rundungsregel</target>
</trans-unit>
<trans-unit id="off">
<source>off</source>
<target>Aus</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -226,6 +226,22 @@
<source>first_weekday</source>
<target>First day of the week</target>
</trans-unit>
<trans-unit id="label.timesheet.duration_increment">
<source>label.timesheet.duration_increment</source>
<target>Minute selection for Duration</target>
</trans-unit>
<trans-unit id="label.timesheet.time_increment">
<source>label.timesheet.time_increment</source>
<target>Minute selection for From &amp; To</target>
</trans-unit>
<trans-unit id="increment_rounding">
<source>increment_rounding</source>
<target>Use configured value of the rounding rule</target>
</trans-unit>
<trans-unit id="off">
<source>off</source>
<target>Off</target>
</trans-unit>
</body>
</file>
</xliff>