sogo/UI/Templates/ContactsUI/UIxContactView.wox
Francis Lachapelle c81f3b6829 Improved layout of contact photos.
Monotone-Parent: fc82f5d2ff1a83e0f7d507e8ab1bb5149bbbec24
Monotone-Revision: b31a7aa3d154368df1ba1525deed0dd5867b42f0

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-13T20:07:52
2012-03-13 20:07:52 +00:00

78 lines
3.2 KiB
XML

<?xml version='1.0' standalone='yes'?>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
xmlns:uix="OGo:uix">
<var:if condition="hasPhoto"
><span class="photoFrame"><img var:src="photoURL" class="contactPhoto"
/></span></var:if>
<h3 class="contactCardTitle"><var:string value="fullName" /></h3
><div id="leftContactColumn" class="contactColumn"
><div id="primaryInfos"
><h4><var:string label:value="Contact" /></h4
><var:string value="displayName" escapeHTML="NO"
/><var:string value="nickName" escapeHTML="NO"
/><var:string value="primaryEmail" escapeHTML="NO"
/><var:string value="secondaryEmail" escapeHTML="NO"
/><var:string value="screenName" escapeHTML="NO"
/><var:string value="preferredAddress" escapeHTML="NO"
/><var:string value="categories" escapeHTML="NO"
/></div
>
<var:if condition="hasHomeInfos"
><div id="homeInfos"
><h4><var:string label:value="Home" /></h4
><var:string value="homeStreetAddress" escapeHTML="NO"
/><var:string value="homeExtendedAddress" escapeHTML="NO"
/><var:string value="homePobox" escapeHTML="NO"
/><var:string value="homeCityAndProv" escapeHTML="NO"
/><var:string value="homePostalCodeAndCountry" escapeHTML="NO"
/><var:string value="homeUrl" escapeHTML="NO"
/></div
></var:if
><var:if condition="hasOtherInfos"
><div id="otherInfos"
><h4><var:string label:value="Other Infos" /></h4
><var:string value="bday" escapeHTML="NO"
/><var:string value="tz" escapeHTML="NO"
/><var:string value="note" escapeHTML="NO"
/></div
></var:if
></div
><div id="rightContactColumn" class="contactColumn"
><var:if condition="hasTelephones"
><div id="phoneInfos"
><h4><var:string label:value="Telephone" /></h4
><var:string value="workPhone" escapeHTML="NO"
/><var:string value="homePhone" escapeHTML="NO"
/><var:string value="fax" escapeHTML="NO"
/><var:string value="mobile" escapeHTML="NO"
/><var:string value="pager" escapeHTML="NO"
/></div
></var:if
><var:if condition="hasWorkInfos"
><div id="workInfos"
><h4><var:string label:value="Work" /></h4
><var:string value="workTitle" escapeHTML="NO"
/><var:string value="workService" escapeHTML="NO"
/><var:string value="workCompany" escapeHTML="NO"
/><var:string value="workPobox" escapeHTML="NO"
/><var:string value="workStreetAddress" escapeHTML="NO"
/><var:string value="workExtendedAddress" escapeHTML="NO"
/><var:string value="workCityAndProv" escapeHTML="NO"
/><var:string value="workPostalCodeAndCountry" escapeHTML="NO"
/><var:string value="workUrl" escapeHTML="NO"
/></div
></var:if
></div
></container>