refactored offer-details view