nuxeo-checkins
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nuxeo-checkins] CVS: NuxForum/ui Posting_comments.zpt,1.2,1.3


From: Juan David Ibáñez Palomar
Subject: [Nuxeo-checkins] CVS: NuxForum/ui Posting_comments.zpt,1.2,1.3
Date: Mon, 29 Apr 2002 09:41:32 -0400

Update of /cvsroot/nuxeo/NuxForum/ui
In directory subversions:/tmp/cvs-serv5912/ui

Modified Files:
        Posting_comments.zpt 
Log Message:
Reworked nested mode (a la slashdot).


Index: Posting_comments.zpt
===================================================================
RCS file: /cvsroot/nuxeo/NuxForum/ui/Posting_comments.zpt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Posting_comments.zpt        15 Mar 2002 14:54:43 -0000      1.2
--- Posting_comments.zpt        29 Apr 2002 13:41:29 -0000      1.3
***************
*** 1,14 ****
- <li class="inline" tal:repeat="comment container/get_comments">
-   <a href=""
-      tal:attributes="href comment/absolute_url"
-      tal:content="comment/title">
-   </a>
-   <span tal:replace="python:gettext('by %(name)s on %(date)s at %(time)s') % 
comment.get_subheader_data()"></span>
  
!   <tal:block condition="python:request.get('mode', 'nested') == 'nested'">
!     <br>
!     <tal:block content="comment/body"></tal:block>
!   </tal:block>
  
!   <ul tal:content="structure comment/comments"></ul>
! </li>
\ No newline at end of file
--- 1,23 ----
  
! <tal:block define="mode request/mode | string:nested">
!   <tal:block repeat="comment container/get_comments">
! 
!     <tal:block condition="python:mode == 'threaded'">
!       <li class="inline">
!         <a tal:attributes="href comment/absolute_url"
!            tal:content="comment/title" />
!         <span tal:replace="python:gettext('by %(name)s on %(date)s at 
%(time)s') % comment.get_subheader_data()" />
!       </li>
!     </tal:block>
  
!     <tal:block condition="python:mode == 'nested'">
!       <a tal:attributes="href comment/absolute_url"
!          tal:content="comment/title" />
!       <span tal:replace="python:gettext('by %(name)s on %(date)s at 
%(time)s') % comment.get_subheader_data()" />
!       <br>
!       <tal:block content="comment/body" />
!     </tal:block>
! 
!     <ul tal:content="structure comment/comments" />
!   </tal:block>
! </tal:block>
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]