source: products/quintagroup.analytics/trunk/quintagroup/analytics/browser/ownership_by_type.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"
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      metal:use-macro="context/prefs_main_template/macros/master">
6
7<metal:main metal:fill-slot="prefs_configlet_main" i18n:domain="quintagroup.analytics">
8
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="own_by_type_desc1">The following chart displays the most frequently created content types in relation
19            to their owners (up to 10 most active site content contributors and up to 10 most popular
20            content types are displayed).
21        </p>
22        <p i18n:translate="own_by_type_desc2">The table under the chart displays number of content objects of all site's content types
23           in relation to their owners. Besides, the total number of created objects by every contributor
24           is provided.
25        </p>
26        <div id="chart" tal:content="structure view/getChart">
27            Chart will be here
28        </div>
29        <table class="listing">
30            <tr>
31                <th></th>
32                <th tal:repeat="user view/getUsers" tal:content="user">User</th>
33            </tr>
34            <tr tal:repeat="type python:view.getTypes(all=True)">
35                <th tal:content="type">Document</th>
36                <td tal:repeat="count python:view.getContent(type)" tal:content="count">123</td>
37            </tr>
38            <tr>
39                <th>Total</th>
40                <td tal:repeat="total view/getTotal" tal:content="total">123</td>
41            </tr>
42        </table>
43    </body>
44  </metal:main>
45</html>
Note: See TracBrowser for help on using the repository browser.