/
organization.pt
40 lines (32 loc) · 1.76 KB
/
organization.pt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
lang="en"
i18n:domain="collective.contact.core" tal:omit-tag=""
tal:define="ajax_load request/ajax_load | nothing;">
<h1 class="org"><img tal:attributes="src context/getIconURL" /> <span tal:content="view/name" /></h1>
<div metal:use-macro="context/kss_generic_macros/macros/generic_description_view">
Generic KSS Description. Is rendered with class="documentDescription".
</div>
<div id="logo" class="field" tal:condition="context/logo">
<img tal:define="scales nocall:context/@@images"
tal:replace="structure python:scales.tag('logo', 'thumb', css_class='photo')"
tal:on-error="string:Bad logo format" />
</div>
<div id="viewlet-below-content-title" tal:content="structure provider:plone.belowcontenttitle"
tal:condition="python: view.display_below_content_title() and not ajax_load" />
<div id="type" class="field">
<label><tal:block i18n:translate="">Organization type</tal:block>:</label>
<span tal:content="view/type"
i18n:translate="" />
</div>
<div id="activity" class="field" tal:condition="view/activity">
<label><tal:block i18n:translate="">Activity</tal:block>:</label>
<span class="note" tal:content="structure view/activity/output" />
</div>
<div id="enterprise-number" class="field" tal:condition="context/enterprise_number">
<label><tal:block i18n:translate="">Enterprise (or VAT) number</tal:block>:</label>
<span class="note" tal:content="context/enterprise_number" />
</div>
</html>