Hi,

Im on the RB 2.5.2.

I am writing an extension to inject CSS into a review (/r/[xx]) but only 
for a particular user. So when the review page loads, if user is xyz, 
inject the CSS, if not, do nothing.

I tried using a TemplateHook to inject the CSS onto specific pages. It 
worked, however I could not find a way to identify the user, so the 
injection occurred for everyone.

I could use the events, but these an event is triggered after an event 
happens, not when the review page is loaded. By that stage it is too late.

Can someone point me in the right direction?

Thanks,
Michael


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to