summaryrefslogtreecommitdiffstats
path: root/skins/pcfannuaire/pcfannuaire_phones.pt
blob: a2ab8bd6ea255ce53fa95b98dab80e8339b01fcd (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<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"
      xml:lang="en-US"
      lang="en-US"
      metal:use-macro="here/main_template/macros/master"
      i18n:domain="pcfannuaire">
 
<metal:javascriptslot fill-slot="javascript_head_slot">
<script type="text/javascript" language="JavaScript">
</script>
</metal:javascriptslot>

<body>
   <metal:main fill-slot="main">
     <tal:main-macro metal:define-macro="main"
             tal:define="kssClassesView context/@@kss_field_decorator_view;
                         getKssClasses nocall:kssClassesView/getKssClassesInlineEditable;">

        <div tal:replace="structure provider:plone.abovecontenttitle" />
        <h1 metal:use-macro="here/kss_generic_macros/macros/generic_title_view">
            Title or id
        </h1>
        <div tal:replace="structure provider:plone.belowcontenttitle" />

        <div tal:replace="structure provider:plone.abovecontentbody" />

        <div class="intro"
             tal:condition="here/description"
             tal:content="structure here/description">
            Description
        </div>

        <table id="phone-numbers">
          <tr tal:repeat="entry python: context.getEntriesWithPhone()">
           <td>
             <a tal:attributes="href string:?person=${entry}">
             <span tal:replace="entry/displayName">displayName</span>
             </a>
           </td>
           <td class="col-phone">
             <span tal:replace="entry/shortTelephoneNumber">000</span>
             <span tal:condition="entry/mobile"><br/><span tal:replace="entry/mobile">mobile</span></span>
           </td>
          </tr>
        </table>

        <div tal:replace="structure provider:plone.belowcontentbody" />
    </tal:main-macro>
   </metal:main>
</body>
</html>