Set border to avatar images
We use circle for individuals and rounded for group like companies.
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='party']" position="inside">
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s"/>
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s" border="rounded"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='party']" position="inside">
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s"/>
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s" border="circle"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//group[@id='header']" position="after">
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0"/>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0" border="circle"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='name']" position="inside">
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s"/>
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s" border="circle"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
@@ -12,7 +12,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="email" widget="email"/>
|
||||
<newline/>
|
||||
</group>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0"/>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0" border="circle"/>
|
||||
|
||||
<label name="password"/>
|
||||
<field name="password" widget="password"/>
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="email" expand="1"/>
|
||||
<field name="email" expand="1">
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s" border="circle"/>
|
||||
</field>
|
||||
<field name="email_valid"/>
|
||||
<field name="party" expand="2"/>
|
||||
<button name="validate_email" string="Validate E-mail"/>
|
||||
<button name="reset_password" string="Reset Password"/>
|
||||
</tree>
|
||||
|
||||
@@ -17,7 +17,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="password" widget="password"/>
|
||||
<button name="reset_password" colspan="2" />
|
||||
</group>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0"/>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0" border="circle"/>
|
||||
<notebook colspan="4">
|
||||
<page string="User" id="user">
|
||||
<separator name="signature" colspan="4"/>
|
||||
|
||||
@@ -12,7 +12,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="password"/>
|
||||
<field name="password" widget="password"/>
|
||||
</group>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0"/>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0" border="circle"/>
|
||||
<notebook colspan="4">
|
||||
<page string="User" id="user">
|
||||
<separator name="signature" colspan="4"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="name" expand="2">
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s"/>
|
||||
<prefix id="avatar" icon="avatar_url" icon_type="url" url_size="s" border="circle"/>
|
||||
</field>
|
||||
<field name="login" expand="1"/>
|
||||
<field name="sessions"/>
|
||||
|
||||
Reference in New Issue
Block a user