Fix avatar contactId attribute

This commit is contained in:
Hadi Nategh 2022-09-13 11:16:50 +02:00
parent 06e99c1e7b
commit 98584884b0
4 changed files with 4 additions and 4 deletions

View File

@ -370,7 +370,7 @@
<row class="dialogHeader">
<box align="center">
<hbox disabled="@hidebuttons">
<avatar id="jpegphoto" contact_id="$cont[id]" src="$cont[photo]" crop="false"
<avatar id="jpegphoto" contactId="$cont[id]" src="$cont[photo]" crop="false"
editable="true"/>
</hbox>
</box>

View File

@ -110,7 +110,7 @@
</vbox>
<description id="${row}[role]"/>
<listbox type="select-cat" id="${row}[cat_id]" readonly="true" rows="2"/>
<lavatar src="$row_cont[photo]" contact_id="$row_cont[id]" lname="$row_cont[n_family]" fname="$row_cont[n_given]"/>
<lavatar src="$row_cont[photo]" contactId="$row_cont[id]" lname="$row_cont[n_family]" fname="$row_cont[n_given]"/>
<date id="${row}[bday]" readonly="true" options="Y-m-d"/>
<vbox>
<description id="${row}[adr_one_street]" no_lang="1"/>

View File

@ -29,7 +29,7 @@
</vbox>
</vbox>
<vbox class="addressbookCol3">
<lavatar src="$row_cont[photo]" contact_id="$row_cont[id]" lname="$row_cont[n_family]" fname="$row_cont[n_given]"/>
<lavatar src="$row_cont[photo]" contactId="$row_cont[id]" lname="$row_cont[n_family]" fname="$row_cont[n_given]"/>
</vbox>
</row>
</rows>

View File

@ -4,7 +4,7 @@
<overlay>
<template id="etemplate.avatar_edit" template="" lang="" group="0" version="16.2">
<vbox>
<avatar crop="true" id="cropper_image" contact_id="$cont[contact_id]" src="$cont[src]" size="6em" shape="square"/>
<avatar crop="true" id="cropper_image" contactId="$cont[contact_id]" src="$cont[src]" size="6em" shape="square"/>
<hbox>
<buttononly id="rotate_reset" label="Reset" image="recur" background_image="1"/>
<buttononly id="rotate_l" label="Rotate Left" image="rotate_l" background_image="1"/>