Status API part 2: Small refactor of reviewtags.
Review Request #8299 — Created July 19, 2016 and submitted — Latest diff uploaded
A couple template tags in the reviewtags library (
reply_section
andreply_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.