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 | |
---|
39 | <a href="#" |
---|
40 | tal:attributes="href string:${obj/absolute_url}/atct_edit" |
---|
41 | tal:content="obj/title_or_id" /> |
---|
42 | (<a href="#" |
---|
43 | class="link-external" |
---|
44 | tal:define="id python:obj.id" |
---|
45 | tal:attributes="href string:$portal_url/track/$id" |
---|
46 | tal:content="python: map[id]" />) |
---|
47 | |
---|
48 | </dt> |
---|
49 | |
---|
50 | <dd tal:define="description obj/Description"> |
---|
51 | <span tal:omit-tag="" tal:condition="not:description"> |
---|
52 | |
---|
53 | </span> |
---|
54 | <span tal:omit-tag="" tal:content="description"> |
---|
55 | description |
---|
56 | </span> |
---|
57 | </dd> |
---|
58 | </tal:entry> |
---|
59 | </dl> |
---|
60 | |
---|
61 | </tal:listing> |
---|
62 | |
---|
63 | <p class="discreet" |
---|
64 | tal:condition="not: folderContents" i18n:translate="description_no_items_in_folder"> |
---|
65 | There are currently no items in this folder. |
---|
66 | </p> |
---|
67 | |
---|
68 | </tal:foldercontents> |
---|
69 | </metal:listingmacro> |
---|
70 | </div> |
---|
71 | |
---|
72 | </body> |
---|
73 | </html> |
---|