source: products/quintagroup.analytics/trunk/quintagroup/analytics/browser/ownership_by_state.pt

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.2 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            <ul class="formTabs" id="navigation"  tal:define="template_id template/getId">
13                <span tal:repeat="formTabItem view/analiticsNavigation">
14                    <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>
15                </span>
16            </ul>
17        </div>
18        <p i18n:translate="navigation_paragraph_own_by_state_desc">The following chart displays workflow states of site's content objects in relation to their owners
19           (up to 10 most active site content contributors are displayed).</p>
20        <p i18n:translate="own_by_state_desc">The table under the chart displays number of content objects in all site's workflow states in relation
21           to content owners.
22        </p>
23        <div id="chart" tal:content="structure view/getChart">
24            Chart will be here
25        </div>
26        <table class="listing">
27            <tr>
28                <th></th>
29                <th tal:repeat="user view/getUsers" tal:content="user">User</th>
30            </tr>
31            <tr tal:repeat="type view/getStates">
32                <th tal:content="type">Document</th>
33                <td tal:repeat="count python:view.getContent(type)" tal:content="count">123</td>
34            </tr>
35            <tr>
36                <th tal:content="view/getNoWFContentTitle">Document</th>
37                <td tal:repeat="count view/getNoWFContent" tal:content="count">123</td>
38            </tr>
39            <tr>
40                <th>Total</th>
41                <td tal:repeat="total view/getTotal" tal:content="total">123</td>
42            </tr>
43        </table>
44    </body>
45  </metal:main>
46</html>
Note: See TracBrowser for help on using the repository browser.