Fix gravatars in review replies and the dashboard.
Review Request #7279 — Created May 1, 2015 and submitted
The review replies weren't able to make use of gravatars properly, due to the addition of the gravatars setting check. The variable being used there wasn't available to the template, so I've plumbed a suitable variable through. The datagrid was showing gravatars all the time, not considering that setting. It now checks before deciding to render the gravatar.
Tested that gravatars appeared in the review replies, and that they were
turned off in both locations when turning off the setting.
Description | From | Last Updated |
---|---|---|
Can we pass this in as an argument to generate_reply_html? I know it comes in from the closure, but it's … |
david |
- Change Summary:
-
Passed
use_gravatars
as an argument togenerate_reply_html
. - Commit:
-
29fe50d3cc3d2f7fa891fa503886b1a93db247b457e8437227225c7bcb83b038ff67876e5146e4c4
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/columns.py reviewboard/reviews/templatetags/reviewtags.py Ignored Files: reviewboard/templates/reviews/review_reply.html Tool: Pyflakes Processed Files: reviewboard/datagrids/columns.py reviewboard/reviews/templatetags/reviewtags.py Ignored Files: reviewboard/templates/reviews/review_reply.html