made diagnostic view labelling/wrapping a conditional