91 lines
3.2 KiB
XML
91 lines
3.2 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
|
lang="en"
|
|
metal:use-macro="context/main_template/macros/master"
|
|
i18n:domain="collective.contact.core">
|
|
<body>
|
|
|
|
<div metal:fill-slot="main">
|
|
<h1 tal:content="view/name"></h1>
|
|
|
|
<div class="field" tal:condition="context/photo">
|
|
<img tal:replace="structure python: view.widgets['photo'].render()" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/birthday">
|
|
<label><tal:block i18n:translate="">Birthday</tal:block>:</label>
|
|
<span tal:content="view/birthday"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/email">
|
|
<label><tal:block i18n:translate="">Email</tal:block>:</label>
|
|
<span tal:content="view/email"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/phone">
|
|
<label><tal:block i18n:translate="">Phone number</tal:block>:</label>
|
|
<span tal:content="view/phone"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/cell_phone">
|
|
<label><tal:block i18n:translate="">Cell phone number</tal:block>:</label>
|
|
<span tal:content="view/cell_phone"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/fax">
|
|
<label><tal:block i18n:translate="">Fax number</tal:block>:</label>
|
|
<span tal:content="view/fax"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/im_handle">
|
|
<label><tal:block i18n:translate="">IM handle</tal:block>:</label>
|
|
<span tal:content="view/im_handle"
|
|
i18n:translate="" />
|
|
</div>
|
|
|
|
<div class="field" tal:condition="view/website">
|
|
<label><tal:block i18n:translate="">Website</tal:block>:</label>
|
|
<a tal:content="view/website"
|
|
tal:attributes="href view/website" />
|
|
</div>
|
|
|
|
<div id="address"
|
|
tal:replace="structure view/render_address" />
|
|
|
|
<div id="held_positions" class="field" tal:condition="view/held_positions">
|
|
<label><tal:block i18n:translate="">Positions held by this person</tal:block>:</label>
|
|
<ul>
|
|
<tal:block tal:repeat="held_position view/held_positions">
|
|
<li><a tal:attributes="href held_position/getURL">
|
|
<span tal:replace="held_position/Title"
|
|
i18n:translate="" />
|
|
</a></li>
|
|
</tal:block>
|
|
</ul>
|
|
</div>
|
|
|
|
<tal:block tal:repeat="field view/ttw_fields">
|
|
<div class="field" tal:define="widget python: view.widgets[field]" tal:condition="widget/value">
|
|
<label><tal:block tal:content="python: widget.label" i18n:translate="" />:</label>
|
|
<span tal:content="structure widget/render" />
|
|
</div>
|
|
</tal:block>
|
|
|
|
<fieldset tal:repeat="group view/groups"
|
|
tal:attributes="id python:''.join((group.prefix, 'groups.', group.__name__)).replace('.', '-')">
|
|
<legend tal:content="group/label" />
|
|
<div class="field" tal:repeat="widget group/widgets/values">
|
|
<label tal:content="widget/label" />
|
|
<br />
|
|
<div tal:content="structure widget/render" />
|
|
</div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |