##// END OF EJS Templates
templates: pass in request where possible to avoid threadglobals
super-admin -
r5045:0ea2e860 default
parent child Browse files
Show More
@@ -233,7 +233,7 b''
233 with a better solution at some point.
233 with a better solution at some point.
234 </%doc>
234 </%doc>
235
235
236 <img class="${gravatar_class}" height="${size}" width="${size}" data-hovercard-url="${data_hovercard_url}" data-hovercard-alt="${data_hovercard_alt}" src="${h.gravatar_url(email, size * 2)}" />
236 <img class="${gravatar_class}" height="${size}" width="${size}" data-hovercard-url="${data_hovercard_url}" data-hovercard-alt="${data_hovercard_alt}" src="${h.gravatar_url(email, size * 2, request=request)}" />
237 </%def>
237 </%def>
238
238
239
239
@@ -160,7 +160,7 b''
160 },
160 },
161 comment_version: "${comment_history.version}",
161 comment_version: "${comment_history.version}",
162 comment_author_username: "${comment_history.author.username}",
162 comment_author_username: "${comment_history.author.username}",
163 comment_author_gravatar: "${h.gravatar_url(comment_history.author.email, 16)}",
163 comment_author_gravatar: "${h.gravatar_url(comment_history.author.email, 16, request=request)}",
164 comment_created_on: '${h.age_component(comment_history.created_on, time_is_local=True)}',
164 comment_created_on: '${h.age_component(comment_history.created_on, time_is_local=True)}',
165 },
165 },
166 % endfor
166 % endfor
General Comments 0
You need to be logged in to leave comments. Login now