nuxeo-checkins
[Top][All Lists]
Advanced

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

[Nuxeo-checkins] CVS: NuxForum/ui Article_index.zpt,1.1.1.1,1.2 Comment_


From: Juan David Ibáñez Palomar
Subject: [Nuxeo-checkins] CVS: NuxForum/ui Article_index.zpt,1.1.1.1,1.2 Comment_index.zpt,1.2,1.3 Posting_comments.zpt,1.1.1.1,1.2
Date: Fri, 15 Mar 2002 09:54:46 -0500

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

Modified Files:
        Article_index.zpt Comment_index.zpt Posting_comments.zpt 
Log Message:
Added nested view.


Index: Article_index.zpt
===================================================================
RCS file: /cvsroot/nuxeo/NuxForum/ui/Article_index.zpt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** Article_index.zpt   20 Feb 2002 12:07:07 -0000      1.1.1.1
--- Article_index.zpt   15 Mar 2002 14:54:43 -0000      1.2
***************
*** 10,13 ****
--- 10,28 ----
  
    <div metal:use-macro="here/actions/macros/actions"></div>
+   <form action="" method="get">
+     <select name="mode"
+             tal:define="mode python:request.get('mode', 'nested')">
+       <option value="nested"
+               tal:attributes="selected python:mode == 'nested'">
+         Nested
+       </option>
+       <option value="threaded"
+               tal:attributes="selected python:mode == 'threaded'">
+         Threaded
+       </option>
+     </select>
+     <input type="submit" value=" Change ">
+   </form>
+ 
  
    <table class="top">

Index: Comment_index.zpt
===================================================================
RCS file: /cvsroot/nuxeo/NuxForum/ui/Comment_index.zpt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Comment_index.zpt   20 Feb 2002 14:35:31 -0000      1.2
--- Comment_index.zpt   15 Mar 2002 14:54:43 -0000      1.3
***************
*** 11,14 ****
--- 11,28 ----
  
    <div metal:use-macro="here/actions/macros/actions"></div>
+   <form action="" method="get">
+     <select name="mode"
+             tal:define="mode python:request.get('mode', 'nested')">
+       <option value="nested"
+               tal:attributes="selected python:mode == 'nested'">
+         Nested
+       </option>
+       <option value="threaded"
+               tal:attributes="selected python:mode == 'threaded'">
+         Threaded
+       </option>
+     </select>
+     <input type="submit" value=" Change ">
+   </form>
  
    <table class="top">

Index: Posting_comments.zpt
===================================================================
RCS file: /cvsroot/nuxeo/NuxForum/ui/Posting_comments.zpt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** Posting_comments.zpt        20 Feb 2002 12:07:07 -0000      1.1.1.1
--- Posting_comments.zpt        15 Mar 2002 14:54:43 -0000      1.2
***************
*** 6,9 ****
--- 6,14 ----
    <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>




reply via email to

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