Move entry rendering into dedicated functions.
Review Request #9174 — Created Sept. 7, 2017 and submitted
This moves the entry rendering from a for loop/include tag in
review_detail.htmlto a template tag and accompanying
BaseReviewRequestPageEntry.render_to_string()method. This is a bit
more efficient and allows greater control of the context in the
Entries can now supply custom context, and the context sets the
show_entry_statuses_areaintelligently based on the entry position,
ensuring that this state always matches up to the location rendered on
Unit tests were added to ensure that entries are rendered correctly.
Unit tests pass.
Tested that all the review request entries were rendering correctly.
Moved the context building into its own
Revision 2 (+208 -11)
Checks run (2 succeeded)