Refactored out a common view between event listings and search listings.