Status API part 2: Small refactor of reviewtags.

Review Request #8299 — Created July 19, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
bef087a...

Reviewers

A couple template tags in the reviewtags library (reply_section and reply_list)
took an entry as a parameter, but the only part of the entry that they cared
about was the review. This change refactors that to pass in the review instead.

I've also changed the review box template to directly reference the review as a
variable rather than repeatedly accessing entry.review.

  • Verified that reviews and replies to reviews still displayed correctly.
  • Ran unit tests.
    Loading...