Only show diff expansion links in review comments.
Review Request #6567 — Created Nov. 7, 2014 and submitted — Latest diff uploaded
Add the
show_controls
parameter tobuild_diff_fragments
which
determines if expansion controls should be shown for the diff
fragments. This parameter defaults toFalse
.The
comment_diff_fragments
view sets thisshow_controls
parameter
toTrue
if and only if it is showing the fragments in a review and
not the edit review dialog.
Tested on local server:
- Review comments contain expansion links.
- Edit review dialog does not contain expansion links.
- Emails do not contain expansion links.