Annotation of versionedFile/zpt/addComment.zpt, revision 1.2

1.1       dwinter     1: <html>
                      2: <body>
1.2     ! dwinter     3: <h2>General comment to all versions</h2>
1.1       dwinter     4: <form method="post" action="manageComment">
1.2     ! dwinter     5: <h3>Modify/View the file comment for <span tal:content="here/title"/>.</h3>
1.1       dwinter     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>
1.2     ! dwinter    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>
1.1       dwinter    24: </body>
                     25: </html>

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