[HS-2099] formatting
- broke up a long list comprehension in views