adds data to items detail template