review/templates/pieces/forms/review-comment.html @ bdfacbcf700e default tip

Friendlier patch urls & mimetype

Replace /changeset/<revset>/patch/ by /changeset/<revset>.patch and set
the mimetype to text/x-diff.

This helps the browser opening the right application thanks to the
mimetype, and the application to better guess the file type thanks
to the '.patch' extension
author Christophe de Vienne <christophe@cdevienne.info>
date Fri, 19 Aug 2016 18:58:14 +0200
parents 24f0d81f3aa5
children (none)
<div class="add-review-comment togglebox group">
    <span class="activate"><a class="button" href="#"><span>Add a comment on this changeset</span></a></span>
    <form class="disabled" id="comment-review-form" method="POST" action="">
        <div class="field">
            <label class="infield" for="id_comment-review-form_body">Comment</label>
            <textarea autocomplete="off" id="id_comment-review-form_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-review-form_markdown" checked="checked" />
            <label for="id_comment-review-form_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>
    </form>
</div>