File:  [Repository] / versionedFile / zpt / addComment.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Mar 21 08:12:46 2005 UTC (19 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new comments possibilities

    1: <html>
    2: <body>
    3: <h2>General comment to all versions</h2>
    4: <form method="post" action="manageComment">
    5: <h3>Modify/View the file comment for <span tal:content="here/title"/>.</h3>
    6: <p tal:condition="python:getattr(here,'comment',None)">
    7: Comment was modified by <span tal:replace="python:getattr(here,'comment_author','unknown')"/>. </p>
    8: Comment:<br>
    9: <textarea tal:content="python:getattr(here,'comment','')" name="text" cols="70" rows="10"/><br>
   10: <input type="text" name="comment_author" tal:attributes="value python:here.REQUEST.get('AUTHENTICATED_USER','unknown')"><br>
   11: <input type="submit" name="submit" value="do not change"> <input type="submit" name="submit" value="change">
   12: </form>
   13: <h2>Comments to single versions</h2>
   14: <table>
   15:   <tr>
   16:     <td>Version</td>
   17:     <td>Comment</td>
   18:   </tr>
   19:   <tr tal:repeat="version python:here.getVersions()">
   20:     <td tal:content="python:version[1].versionNumber"/>
   21:     <td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getVComment()"/></a></td>
   22:   </tr>
   23: </table>
   24: </body>
   25: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>