Move preview tray rendering to templates (bug 888395)