Last change
on this file was
3464,
checked in by kroman0, 12 years ago
|
Fixed syntax for python2.4
|
-
Property svn:eol-style set to
native
|
File size:
2.1 KB
|
Line | |
---|
1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
2 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
3 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
4 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
---|
5 | lang="en" |
---|
6 | metal:use-macro="context/prefs_main_template/macros/master"> |
---|
7 | |
---|
8 | <metal:main metal:fill-slot="prefs_configlet_main" i18n:domain="quintagroup.analytics"> |
---|
9 | <body> |
---|
10 | <div id="wrapper"> |
---|
11 | <h1 i18n:translate="qa_main_title">Quintagroup Analytics Tool for Plone</h1> |
---|
12 | <span tal:content="context/absolute_url"/> |
---|
13 | <ul class="formTabs" id="navigation" tal:define="template_id template/getId"> |
---|
14 | <span tal:repeat="formTabItem view/analiticsNavigation"> |
---|
15 | <li class="formTab"><a tal:attributes="class python:formTabItem['href'] in template_id and 'selected' or '';href python:formTabItem['href']" tal:content="python:formTabItem['content']">content</a></li> |
---|
16 | </span> |
---|
17 | </ul> |
---|
18 | </div> |
---|
19 | <p i18n:translate="type_by_state_desc">The following chart and table display workflow states of the site's most frequently created content types. |
---|
20 | You can see the total number of site's content objects of every content type.</p> |
---|
21 | <div id="chart" tal:content="structure view/getChart"> |
---|
22 | Chart will be here |
---|
23 | </div> |
---|
24 | <table class="listing"> |
---|
25 | <tr> |
---|
26 | <th></th> |
---|
27 | <th tal:repeat="user view/getTypes" tal:content="user">User</th> |
---|
28 | </tr> |
---|
29 | <tr tal:repeat="type view/getStates"> |
---|
30 | <th tal:content="type">Document</th> |
---|
31 | <td tal:repeat="count python:view.getContent(type)" tal:content="count">123</td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <th tal:content="view/getNoWFContentTitle">No workflow</th> |
---|
35 | <td tal:repeat="count view/getNoWFContent" tal:content="count">123</td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <th>Total</th> |
---|
39 | <td tal:repeat="total view/getTotal" tal:content="total">123</td> |
---|
40 | </tr> |
---|
41 | </table> |
---|
42 | </body> |
---|
43 | </metal:main> |
---|
44 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.