show name&organisation left aligned, if there is no photo, also set width of image in case it is bigger

This commit is contained in:
Ralf Becker 2014-03-10 08:53:56 +00:00
parent 07d2319487
commit 18156faf85
2 changed files with 17 additions and 9 deletions

View File

@ -24,6 +24,11 @@ div#divGenTime_addressbook {
display: none; display: none;
} }
div#addressbook_view_sidebox img.photo {
width: 68px;
padding-right: 3px;
}
/** /**
* new addressbook.edit * new addressbook.edit
*/ */

View File

@ -1,21 +1,24 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="addressbook.view" template="" lang="" group="0" version="1.9.001"> <template id="addressbook.view" template="" lang="" group="0" version="1.9.001">
<grid class="addressbook_view" parent_node="addressbook_view_sidebox" width="100%"> <grid class="addressbook_view" parent_node="addressbook_view_sidebox" width="100%">
<columns> <columns>
<column width="80"/> <column width="70"/>
<column/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row span="all">
<image src="photo" class="photo"/> <hbox>
<vbox> <image src="photo" class="photo"/>
<description id="n_fn" class="addressbook_sidebox_name"/> <vbox>
<description id="org_name" class="addressbook_sidebox_org"/> <description id="n_fn" class="addressbook_sidebox_name"/>
<description id="org_unit"/> <description id="org_name" class="addressbook_sidebox_org"/>
<description id="adr_one_locality"/> <description id="org_unit"/>
</vbox> <description id="adr_one_locality"/>
</vbox>
</hbox>
</row> </row>
<row> <row>
<description span="2" value="Phone numbers" class="addressbook_sidebox_header"/> <description span="2" value="Phone numbers" class="addressbook_sidebox_header"/>