Add back classes to first purchase offer banner that are used in the REV-1512 optimizely test (#309)

This commit is contained in:
Matthew Piatetsky
2020-12-15 14:59:56 -05:00
committed by GitHub
parent 743621ff51
commit 79f5c7fcf4

View File

@@ -34,14 +34,16 @@ function OfferAlert({ intl, payload }) {
{intl.formatMessage(messages.srPrices, { discountedPrice, originalPrice })}
</span>
<span aria-hidden="true">
{discountedPrice} <del>{originalPrice}</del>
{/* the price discount and price original classes can be removed post REV-1512 experiment */}
<span className="price discount">{discountedPrice}</span> <del className="price original">{originalPrice}</del>
</span>
</>
);
return (
<Alert type={ALERT_TYPES.INFO}>
<span className="font-weight-bold">
{/* the first-purchase-offer-banner class can be removed post REV-1512 experiment */}
<span className="font-weight-bold first-purchase-offer-banner">
<FormattedMessage
id="learning.offer.header"
defaultMessage="Upgrade by {date} and save {percentage}% [{fullPricing}]"