passing view status to the template