summaryrefslogtreecommitdiffstats
path: root/tabellio/webviews/folder_recent_docs.pt
blob: 935ffa6b437deddabe97816a96d371ec7a5eea62 (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
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      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"
      metal:use-macro="context/main_template/macros/master"
      i18n:domain="plone">

<body>
  <metal:main fill-slot="main">
    <tal:main-macro metal:define-macro="main">
    <tal:block tal:define="cache view/cache"/>

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

        <div tal:condition="context/Description" id="parent-fieldname-description">
        <img tal:condition="python: hasattr(context, 'header_image')" src="header_image"
             style="float: left; margin: 0 10px 10px 0"/>
        <div tal:replace="context/Description">
            Description
        </div>
        </div>

  <div id="hp-docs">
        <ul>
         <tal:entry tal:repeat="doc view/last_docs">
         <li tal:define="oddrow repeat/doc/odd;" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
            <h4><a href="#" tal:attributes="href doc/getURL" tal:content="python: doc.getObject().reftitle">Proposition de décret - 123 (2010-2011) n° 1</a> <span class="pubdate">- publié le <span tal:replace="python: doc.getObject().publication_date_str"/></span></h4>
            <p tal:content="doc/Title">Proposition de décret visant à élargir la définition des primo-arrivants
               dans l'enseignement de la Communauté française.</p>
          </div></li>
        </tal:entry>
        </ul>
  </div>

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

    </tal:main-macro>
</metal:main>
</body>
</html>