mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
also replace <description/> and remove unnecessary empty <description/> from infolog.index
This commit is contained in:
parent
7268cde359
commit
136b6e82d0
@ -151,7 +151,8 @@ function send_template()
|
||||
'<et2-$1-expose $2 $3></et2-$1-expose>', $str);
|
||||
|
||||
// modify <(vfs-mime|link-string|link-list) --> <et2-*
|
||||
$str = preg_replace(ADD_ET2_PREFIX_LEGACY_REGEXP, '<et2-$1 $2></et2-$1>', $str);
|
||||
$str = preg_replace(ADD_ET2_PREFIX_LEGACY_REGEXP, '<et2-$1 $2></et2-$1>',
|
||||
str_replace('<description/>', '<et2-description></et2-description>', $str));
|
||||
|
||||
// ^^^^^^^^^^^^^^^^ above widgets get transformed independent of legacy="true" set in overlay ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -99,12 +99,9 @@
|
||||
<date-time id="${row}[info_datecompleted]" readonly="true" class="infolog_fixedHeight"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<hbox readonly="true">
|
||||
<hbox readonly="true">
|
||||
<hbox>
|
||||
<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" select_unit="true" span="all" class="infolog_planned"/>
|
||||
</vbox>
|
||||
@ -212,7 +209,6 @@
|
||||
</vbox>
|
||||
</box>
|
||||
</hbox>
|
||||
<description/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
Loading…
Reference in New Issue
Block a user