source: products/qClickTrackingTool/tags/0.4.1/skins/qClickTrackingTool/portal_clicktracker_view.pt

Last change on this file was 1, checked in by myroslav, 19 years ago

Building directory structure

File size: 2.3 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="plone">
5
6<body>
7
8    <div metal:fill-slot="main">
9
10        <h1 class="documentFirstHeading">
11            Click Tracking Tool
12        </h1>
13
14        <a href=""
15           class="link-parent"
16           tal:define="parent_url python:here.navigationParent(here, template.getId())"
17           tal:condition="parent_url"
18           tal:attributes="href parent_url"
19           i18n:translate="go_to_parent_url">
20        Up one level
21        </a>
22
23        <div class="documentDescription" tal:content="here/Description">
24            description
25        </div>
26
27        <metal:listingmacro define-macro="listing">
28        <tal:foldercontents define="folderContents python:here.getFolderListingFolderContents(suppressHiddenFiles=1);
29                                    map here/getTrackMap">
30        <tal:listing condition="folderContents"
31                     define="global getObjSize nocall:here/getObjSize;
32                             global toPortalTime nocall:here/toPortalTime;">
33
34            <dl>
35                <tal:entry tal:repeat="obj folderContents">
36
37                <dt metal:define-macro="listitem">
38                <a  href="#"
39                    tal:attributes="href string:${obj/absolute_url}/base_edit"
40                    tal:content="obj/title_or_id" />
41                (<a href="#"
42                   class="link-external"
43                   tal:define="id python:obj.id"
44                   tal:attributes="href string:$portal_url/track/$id"
45                   tal:content="python: map[id]" />)
46
47                </dt>
48
49                <dd tal:define="description python: obj.getDescription()">
50                    <span tal:omit-tag="" tal:condition="not:description">
51                        &nbsp;
52                    </span>
53                    <span tal:omit-tag="" tal:content="description">
54                        description
55                    </span>
56                </dd>
57                </tal:entry>
58            </dl>
59
60        </tal:listing>
61       
62        <p class="discreet"
63           tal:condition="not: folderContents" i18n:translate="description_no_items_in_folder">
64         There are currently no items in this folder.
65        </p>
66
67        </tal:foldercontents>
68        </metal:listingmacro>
69    </div>
70
71</body>
72</html>
Note: See TracBrowser for help on using the repository browser.