add conditional logic to show in pages view for either pageable type