forked from extern/egroupware
* Addressbook - Fix tel_prefer statustext to be translated field label instead of field name
This commit is contained in:
parent
e4ad4aab48
commit
abc73dab2b
@ -1740,6 +1740,11 @@ window.egw_LAB.wait(function() {
|
|||||||
{
|
{
|
||||||
$row['tel_prefered'] = $row[$row['tel_prefer']].$prefer_marker;
|
$row['tel_prefered'] = $row[$row['tel_prefer']].$prefer_marker;
|
||||||
}
|
}
|
||||||
|
// Show nice name as status text
|
||||||
|
if($row['tel_prefer'])
|
||||||
|
{
|
||||||
|
$row['tel_prefer_label'] = $this->contact_fields[$row['tel_prefer']];
|
||||||
|
}
|
||||||
if (!$row['owner'] && $row['account_id'] > 0)
|
if (!$row['owner'] && $row['account_id'] > 0)
|
||||||
{
|
{
|
||||||
$row['class'] .= 'rowAccount rowNoDelete ';
|
$row['class'] .= 'rowAccount rowNoDelete ';
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
<url-phone id="${row}[tel_cell]" readonly="true" class="telNumbers" statustext="Mobile phone"/>
|
<url-phone id="${row}[tel_cell]" readonly="true" class="telNumbers" statustext="Mobile phone"/>
|
||||||
<url-phone id="${row}[tel_home]" readonly="true" class="telNumbers" statustext="Home phone"/>
|
<url-phone id="${row}[tel_home]" readonly="true" class="telNumbers" statustext="Home phone"/>
|
||||||
<url-phone id="${row}[tel_fax]" readonly="true" statustext="Fax"/>
|
<url-phone id="${row}[tel_fax]" readonly="true" statustext="Fax"/>
|
||||||
<url-phone id="${row}[tel_prefered]" readonly="true" class="telNumbers" statustext="$row_cont[tel_prefer]"/>
|
<url-phone id="${row}[tel_prefered]" readonly="true" class="telNumbers" statustext="$row_cont[tel_prefer_label]"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox>
|
<vbox>
|
||||||
<url id="${row}[url]" readonly="true" class="fixedHeight"/>
|
<url id="${row}[url]" readonly="true" class="fixedHeight"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user