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