* Mobile template: Fix customfields do not show up in view mode

This commit is contained in:
Hadi Nategh 2017-01-09 16:04:51 +01:00
parent 104731cb8d
commit e135b7272f
5 changed files with 11 additions and 6 deletions

View File

@ -26,6 +26,7 @@
<row class="$row_cont[class]" valign="top"> <row class="$row_cont[class]" valign="top">
<description class=" cat_$row_cont[cat_id] mobile_cat_col"/> <description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
<vbox class="addressbookCol1"> <vbox class="addressbookCol1">
<customfields-list id="$row" class="customfields" app="addressbook" disabled="true"/>
<vbox id="${row}[id]"> <vbox id="${row}[id]">
<description id="${row}[line2]" no_lang="1" /> <description id="${row}[line2]" no_lang="1" />
<description id="${row}[line1]" no_lang="1" /> <description id="${row}[line1]" no_lang="1" />

View File

@ -22,11 +22,12 @@
</columns> </columns>
<rows> <rows>
<row class="th"> <row class="th">
</row> </row>
<row class="$row_cont[class]" valign="top"> <row class="$row_cont[class]" valign="top">
<description class=" cat_$row_cont[cat_id] mobile_cat_col"/> <description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
<vbox class="calendar_fullWidth"> <vbox class="calendar_fullWidth">
<customfields-list id="$row" class="customfields" app="calendar" disabled="true"/>
<hbox class="calTitleRow"> <hbox class="calTitleRow">
<description id="${row}[title]" no_lang="1" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="100%" /> <description id="${row}[title]" no_lang="1" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="100%" />
</hbox> </hbox>

View File

@ -20,23 +20,24 @@
</columns> </columns>
<rows> <rows>
<row class="th"> <row class="th">
</row> </row>
<row class="$row_cont[class]" valign="top"> <row class="$row_cont[class]" valign="top">
<description class=" cat_$row_cont[info_cat] mobile_cat_col"/> <description class=" cat_$row_cont[info_cat] mobile_cat_col"/>
<vbox class="infolog_fullWidth"> <vbox class="infolog_fullWidth">
<customfields-list id="$row" class="customfields" app="infolog" disabled="true"/>
<hbox class="infoSubRow"> <hbox class="infoSubRow">
<description id="${row}[info_subject]" no_lang="1" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="100%" /> <description id="${row}[info_subject]" no_lang="1" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="100%" />
</hbox> </hbox>
<box class="infoDescRow"> <box class="infoDescRow">
<description id="${row}[info_des]" no_lang="1" activate_links="1"/> <description id="${row}[info_des]" no_lang="1" activate_links="1"/>
</box> </box>
<hbox class ="infoLinksRow infoDetails" overflow="hidden"> <hbox class ="infoLinksRow infoDetails" overflow="hidden">
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b" class="infoDetails"/> <link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b" class="infoDetails"/>
</hbox> </hbox>
</vbox> </vbox>
<vbox class="infolog_CompletedClmn"> <vbox class="infolog_CompletedClmn">
<time_or_date id="${row}[info_startdate]" readonly="true" options=",8"/> <time_or_date id="${row}[info_startdate]" readonly="true" options=",8"/>
@ -44,7 +45,7 @@
<hbox class="infoType"> <hbox class="infoType">
<image label="$row_cont[info_type]" src="${row}[info_type]" default_src="infolog/navbar"/> <image label="$row_cont[info_type]" src="${row}[info_type]" default_src="infolog/navbar"/>
</hbox> </hbox>
<hbox class="infoPercent"> <hbox class="infoPercent">
<progress label="$row_cont[info_percent]" id="{$row}[info_percent2]" href="javascript:egw.open($row_cont[info_id],'infolog');"/> <progress label="$row_cont[info_percent]" id="{$row}[info_percent2]" href="javascript:egw.open($row_cont[info_id],'infolog');"/>
</hbox> </hbox>

View File

@ -20,6 +20,7 @@
<row class="$row_cont[class]"> <row class="$row_cont[class]">
<description class="cat_$row_cont[cat_id] mobile_cat_col"/> <description class="cat_$row_cont[cat_id] mobile_cat_col"/>
<vbox> <vbox>
<customfields-list id="$row" class="customfields" app="resources" disabled="true"/>
<description id="${row}[name]" no_lang="1"/> <description id="${row}[name]" no_lang="1"/>
<description id="${row}[short_description]" no_lang="1"/> <description id="${row}[short_description]" no_lang="1"/>
<hbox> <hbox>

View File

@ -27,6 +27,7 @@
<row class="$row_cont[class] timesheetRow"> <row class="$row_cont[class] timesheetRow">
<description class=" cat_$row_cont[cat_id] mobile_cat_col"/> <description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
<vbox> <vbox>
<customfields-list id="$row" class="customfields" app="timesheet" disabled="true"/>
<description id="${row}[ts_title]" no_lang="1" class="ts_title $row_cont[titleClass]"/> <description id="${row}[ts_title]" no_lang="1" class="ts_title $row_cont[titleClass]"/>
<description id="${row}[ts_description]" class="ts_description" no_lang="1"/> <description id="${row}[ts_description]" class="ts_description" no_lang="1"/>
<link id="${row}[ts_link]" no_lang="1"/> <link id="${row}[ts_link]" no_lang="1"/>