setting select_unit="true" for all date-duration to get old format with most fitting unit

This commit is contained in:
ralf 2022-03-29 21:07:17 +03:00
parent c12d4cebfb
commit 85a26d56b1

View File

@ -92,9 +92,7 @@
<link-string id="${row}[filelinks]"/>
</vbox>
<customfields-list id="$row" class="customfields" app="infolog"/>
<menulist>
<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
</menulist>
<select-cat id="${row}[info_cat]" readonly="true"/>
<vbox>
<date-time id="${row}[info_startdate]" readonly="true" options=",8" class="infolog_fixedHeight"/>
<date-time id="${row}[info_enddate]" readonly="true" options=",8" class="$row_cont[end_class] infolog_fixedHeight"/>
@ -103,24 +101,18 @@
<vbox>
<hbox readonly="true">
<hbox readonly="true">
<date-duration id="${row}[info_used_time]" readonly="true"
display_format="@@duration_format"
disabled="!$row_cont[info_used_time]"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true"
display_format="@@duration_format" class="timesheet"/>
<date-duration id="${row}[info_used_time]" readonly="true" select_unit="true" display_format="@@duration_format" disabled="!$row_cont[info_used_time]"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true" select_unit="true" display_format="@@duration_format" class="timesheet"/>
</hbox>
<description/>
</hbox>
<date-duration id="${row}[info_planned_time]" readonly="true" display_format="@@duration_format"
span="all" class="infolog_planned"/>
<date-duration id="${row}[info_planned_time]" readonly="true" display_format="@@duration_format" select_unit="true" span="all" class="infolog_planned"/>
</vbox>
<vbox>
<hbox id="r_used_time">
<image label="Times" src="timesheet"/>
<date-duration id="${row}[info_used_time]" readonly="true"
display_format="@@duration_format" disabled="!$row_cont[info_used_time]"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true"
display_format="@@duration_format" class="timesheet"/>
<date-duration id="${row}[info_used_time]" readonly="true" select_unit="true" display_format="@@duration_format" disabled="!$row_cont[info_used_time]"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true" select_unit="true" display_format="@@duration_format" class="timesheet"/>
</hbox>
<hbox id="planified">
<image label="planned time" src="k_alarm.png"/>
@ -129,19 +121,16 @@
</hbox>
<hbox id="replanified">
<image label="Re-planned time" src="agt_reload.png"/>
<date-duration id="${row}[info_replanned_time]" readonly="true"
display_format="@@duration_format" span="all" class="replanned"/>
<date-duration id="${row}[info_replanned_time]" readonly="true" select_unit="true" display_format="@@duration_format" span="all" class="replanned"/>
</hbox>
</vbox>
<vbox>
<et2-select-account id="${row}[info_owner]" readonly="true"/>
<et2-select-account id="${row}[info_responsible]" readonly="true" rows="5"/>
<select-account id="${row}[info_owner]" readonly="true"/>
<select-account id="${row}[info_responsible]" readonly="true" rows="5"/>
</vbox>
<vbox>
<date-time id="${row}[info_datemodified]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
</menulist>
<select-account id="${row}[info_modifier]" readonly="true"/>
</vbox>
</row>
</rows>