You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/diff
zeripath 03ba12aabf
Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550)
* Prevent NPE on commenting on lines with invalidated comments

Only check for a review if we are replying to a previous review.

Prevent the NPE in #12239 by assuming that a comment without a Review is
non-pending.

Fix #12239

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add hack around to show the broken comments

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years ago
..
blob_excerpt.tmpl Fix and simplify some tmpl conditions (#11080) 5 years ago
box.tmpl Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550) 5 years ago
comment_form.tmpl Fix comment box styling and cancelling (#11463) (#11464) (#11469) (#11467) 5 years ago
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 7 years ago
comments.tmpl Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) 5 years ago
compare.tmpl Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 5 years ago
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 5 years ago
new_comment.tmpl Pull request review/approval and comment on code (#3748) 7 years ago
new_review.tmpl Fix submit review form (#11252) 5 years ago
options_dropdown.tmpl Support view individual commit for wiki pages (#11415) 5 years ago
section_unified.tmpl Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550) 5 years ago
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 7 years ago