review/templates/pieces/forms/file-comment.html @ 354188b0eca0
Allow signoff to be added when one already exists on a precursor.
The current obsolescence support makes little difference between
comments/signoff from a cset and the ones from its predecessors.
This patch avoid a signoff from a precursor to be seen as changeable, and allow
the user to re-signoff on the latest version of the changeset.
author |
Christophe de Vienne <cdevienne@gmail.com> |
date |
Wed, 29 Oct 2014 14:32:27 +0100 |
parents |
5dec221dd171 |
children |
(none) |
<div class="add-file-comment togglebox group">
<span class="activate"><a class="button" href=""><span>Add a comment on this file</span></a></span>
<form id="id_comment-file-form_{{ index }}" class="disabled" method="POST" action="">
<div class="field">
<label class="infield" for="id_comment-file-form_{{ index }}_body">Comment</label>
<textarea autocomplete="off" id="id_comment-file-form_{{ index }}_body" cols="60" rows="6" name="new-comment-body"></textarea>
</div>
<div class="field cuddly">
<input type="checkbox" class="checkbox" name="comment-markdown" id="id_comment-file-form_{{ index }}_markdown" checked="checked" />
<label for="id_comment-file-form_{{ index }}_markdown">Use Markdown to format this comment.</label>
</div>
<a class="submit button" href="#"><span>Post Comment</span></a>
<a class="cancel button" href="#"><span>Cancel</span></a>
<input type="hidden" name="filename-u" value="{{ ufilename }}" />
<input type="hidden" name="filename-b64" value="{{ utils['b64'](filename) }}" />
</form>
</div>