Refactor topic__meta view code