Commit fd1d6878 authored by Alexey Petrik's avatar Alexey Petrik

54855

parent 510ecf5d
Pipeline #24493 passed with stages
in 3 minutes and 53 seconds
......@@ -98,17 +98,15 @@ class ResultsFlight extends React.Component<Props> {
</div>
<div className="flight-summary__action">
<div className="flight-summary-buy" onClick={this.onAction}>
{buttonText}
{totalPrice && flight.moneyWallFirstPayment && (
<div className="flight-summary-buy__moneyWall">
{i18n('results-flight-moneyWall_1')}
<Price currency={currency} rates={rates} price={flight.moneyWallFirstPayment}/>
{i18n('results-flight-moneyWall_2')}
</div>
)}
</div>
<div className="flight-summary-buy" onClick={this.onAction}>{buttonText}</div>
{this.props.isProMode && <div className="flight-summary-service">{flight.service}</div>}
{totalPrice && flight.moneyWallFirstPayment && (
<div className="flight-summary-moneyWall">
{i18n('results-flight-moneyWall_1')}
<Price currency={currency} rates={rates} price={flight.moneyWallFirstPayment}/>
{i18n('results-flight-moneyWall_2')}
</div>
)}
</div>
</div>
);
......
......@@ -613,16 +613,6 @@
margin-left: 2px;
}
}
&__moneyWall {
font-size: 12px;
text-transform: none;
.price {
font-size: 12px;
margin: 0 3px;
}
}
}
&-changeFlight {
......@@ -645,6 +635,18 @@
height: 18px;
}
}
&-moneyWall {
font-size: 12px;
text-transform: none;
text-align: center;
padding-top: 3px;
.price {
font-size: 12px;
margin: 0 3px;
}
}
}
&-details {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment