• aroben@apple.com's avatar
    Fix Bug 21401: Comments field on "Review Patch" page should be... · e6216bea
    aroben@apple.com authored
            Fix Bug 21401: Comments field on "Review Patch" page should be initially filled with quoted patch
    
            <https://bugs.webkit.org/show_bug.cgi?id=21401>
    
            Reviewed by Dave Hyatt.
    
            * attachment.cgi:
            (edit): Retrieve the attachment data from the database instead of just
            its length. When the attachment is a patch, create a quotedpatch
            template variable that contains the patch data with each line
            prepended with "> ".
            * template/en/custom/attachment/reviewform.html.tmpl:
              - Changed the comments field to have a monospace font
              - Added an "Enter comments below:" caption above the comments field
                to make it clearer that this is where comments should go, now that
                the comments field is not initially empty
              - Fill the comments field with the quoted patch
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e6216bea
attachment.cgi 45.5 KB