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

<html>
<body>
<h2>General comment to all versions</h2>
<form method="post" action="manageComment">
<h3>Modify/View the file comment for <span tal:content="here/title"/>.</h3>
<p tal:condition="python:getattr(here,'comment',None)">
Comment was modified by <span tal:replace="python:getattr(here,'comment_author','unknown')"/>. </p>
Comment:<br>
<textarea tal:content="python:getattr(here,'comment','')" name="text" cols="70" rows="10"/><br>
<input type="text" name="comment_author" tal:attributes="value python:here.REQUEST.get('AUTHENTICATED_USER','unknown')"><br>
<input type="submit" name="submit" value="do not change"> <input type="submit" name="submit" value="change">
</form>
<h2>Comments to single versions</h2>
<table>
  <tr>
    <td>Version</td>
    <td>Comment</td>
  </tr>
  <tr tal:repeat="version python:here.getVersions()">
    <td tal:content="python:version[1].versionNumber"/>
    <td><a tal:attributes="href python:version[1].absolute_url()+'/manageVCommentForm'"><small tal:content="python:version[1].getVComment()"/></a></td>
  </tr>
</table>
</body>
</html>

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