Refactor the condition pages