source: products/quintagroup.quills.extras/branches/wald/quintagroup/quills/extras/portlets/mostcommented.pt @ 1423

Last change on this file since 1423 was 652, checked in by piv, 18 years ago

added testing for case CMFMember products is installed

File size: 1.1 KB
Line 
1<dl class="portlet portletMostCommented"
2    i18n:domain="elaw.theme.webresults.portlets">
3
4    <dt class="portletHeader">
5        <span class="portletTopLeft"></span>
6        <span>
7           Most commented
8        </span>
9        <span class="portletTopRight"></span>
10    </dt>
11
12    <tal:items tal:repeat="data view/mostCommented">
13    <dd class="portletItem"
14        tal:define="oddrow repeat/data/odd;
15                    num_comm python:data[0];
16                    brain python:data[1];
17                    wf_state brain/review_state;
18                    wf_state_class python:'state-' + wf_state;"
19        tal:attributes="class python:oddrow and  'portletItem even' or 'portletItem odd'">
20        <a href="" class="tile"
21            tal:attributes="href brain/getURL;
22                            title brain/Description;">
23            <tal:title content="string:${brain/Title} ($num_comm)">
24                Title (3)
25            </tal:title>
26        </a>
27    </dd>
28    </tal:items>
29
30    <dd class="portletFooter">
31        <span class="portletBottomLeft"></span>
32        <span class="portletBottomRight"></span>
33    </dd>
34
35</dl>
Note: See TracBrowser for help on using the repository browser.