source: products/quintagroup.quills.extras/trunk/quintagroup/quills/extras/browser/topic_listing.pt

Last change on this file was 1225, checked in by mylan, 15 years ago

Merged revisions 2250-2256,2258 via svnmerge from
http://svn.quintagroup.com/products/quintagroup.quills.extras/branches/no_webresults

........

r2250 | mylan | 2009-08-05 17:50:46 +0300 (Wed, 05 Aug 2009) | 2 lines


moved webresults site cusomizations into elaw.quills.webresults package (#37)

........

r2251 | mylan | 2009-08-05 21:25:35 +0300 (Wed, 05 Aug 2009) | 1 line


Bind off from 4webresults theme skin: rebind resources to IQuillsExtrasLayer (browser layer), change QuillsLinks? portlet registration

........

r2252 | mylan | 2009-08-05 22:28:15 +0300 (Wed, 05 Aug 2009) | 1 line


Fix bug with quills_header_macros

........

r2253 | mylan | 2009-08-06 17:45:39 +0300 (Thu, 06 Aug 2009) | 1 line


Added tests for quills

........

r2254 | mylan | 2009-08-06 17:48:25 +0300 (Thu, 06 Aug 2009) | 1 line


Added support of both qPloneComments or quintagroup.plonecomments products

........

r2255 | mylan | 2009-08-06 19:26:31 +0300 (Thu, 06 Aug 2009) | 1 line


Move entry & weblog macroses from skins to /browser (acording to quills.app v.1.7.3)

........

r2256 | mylan | 2009-08-06 20:18:07 +0300 (Thu, 06 Aug 2009) | 1 line


Debug macroses refactoring, #37

........

r2258 | mylan | 2009-08-07 15:15:54 +0300 (Fri, 07 Aug 2009) | 1 line


Update tests because of integration quills with quintagroup.plonecomments (#37)

........

File size: 2.1 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
2  lang="en-US"
3  metal:use-macro="context/main_template/macros/master"
4  i18n:domain="quills.app">
5
6  <metal:block fill-slot="head_slot">
7    <metal:macro use-macro="context/quills_header_macros/feed-links" />
8  </metal:block>
9
10  <body>
11
12    <div metal:fill-slot="main" id="weblogtopics">
13
14      <h1 class="documentFirstHeading" i18n:translate="heading_topics">Topics</h1>
15
16      <div class="documentDescription"></div>
17
18      <tal:loop repeat="topic context/getTopics">
19        <div class="row"
20          tal:attributes="class python:repeat['topic'].even() and 'row even' or 'row odd'">
21          <div class="icon" style="width: 64px; height: 64px;"
22               tal:define="topicimage python:topic.getImage()"
23               tal:condition="topicimage">
24            <a href="#"
25               tal:attributes="href string:${request/URL0}/${topic/getId}">
26              <img src=""
27                   tal:attributes="src topicimage/absolute_url;
28                                   alt topic/getTitle" />
29            </a>
30          </div>
31          <div
32            tal:define="entries topic/getEntries">
33            <strong>
34              <a href="#"
35                 tal:content="topic/getTitle"
36                 tal:attributes="href string:${context/absolute_url}/${topic/getId}">_topic_link_</a>
37              (<span tal:content="python:len(topic)"></span>)
38            </strong>
39            <div class="discreet">
40              <tal:if condition="not:python:len(topic)" i18n:translate="label_no_posts">
41                No Posts
42              </tal:if>
43              <tal:if condition="python:len(topic)">
44                <span i18n:translate="label_last_post">Last Post:</span>
45                <a href=""
46                  tal:attributes="href python:view.getArchiveURLFor(entries[0])"
47                  tal:content="python:here.toLocalizedTime(view.getLastModified(topic), long_format=1)">
48                  August 16, 2001 at 23:35:59
49                </a>
50              </tal:if>
51            </div>
52          </div>
53        </div>
54      </tal:loop>
55
56    </div>
57  </body>
58</html>
Note: See TracBrowser for help on using the repository browser.