Merge pull request #4820 from FreeCodeCamp/fix/update-job-copy

Update job pricing
This commit is contained in:
Michael D. Johnson
2015-11-30 22:19:14 -05:00
4 changed files with 6 additions and 9 deletions

View File

@ -21,7 +21,7 @@ export default contain(
buttonId = isHighlighted ? buttonId = isHighlighted ?
paypalIds.highlighted : paypalIds.highlighted :
paypalIds.regular, paypalIds.regular,
price = 200, price = 1000,
discountAmount = 0, discountAmount = 0,
promoCode = '', promoCode = '',
promoApplied = false, promoApplied = false,
@ -92,7 +92,7 @@ export default contain(
</Col> </Col>
<Col <Col
md={ 3 }> md={ 3 }>
<h4>+ 50</h4> <h4>+ 250</h4>
</Col> </Col>
</Row> </Row>
); );
@ -214,7 +214,7 @@ export default contain(
<Col <Col
md={ 6 }> md={ 6 }>
<h4>${ <h4>${
price - discountAmount + (isHighlighted ? 50 : 0) price - discountAmount + (isHighlighted ? 250 : 0)
}</h4> }</h4>
</Col> </Col>
</Row> </Row>

View File

@ -86,7 +86,7 @@ export default contain(
onClick={ ()=> { onClick={ ()=> {
appActions.updateRoute('/jobs/new'); appActions.updateRoute('/jobs/new');
}}> }}>
Post a job: $200 for 30 days Post a job: $1000
</Button> </Button>
<div className='spacer' /> <div className='spacer' />
</Col> </Col>

View File

@ -1,7 +1,6 @@
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
import classnames from 'classnames'; import classnames from 'classnames';
import { ListGroup, ListGroupItem } from 'react-bootstrap'; import { ListGroup, ListGroupItem } from 'react-bootstrap';
import moment from 'moment';
export default React.createClass({ export default React.createClass({
displayName: 'ListJobs', displayName: 'ListJobs',
@ -17,7 +16,7 @@ export default React.createClass({
} }
return ( return (
<span className='hidden-xs hidden-sm'> <span className='hidden-xs hidden-sm'>
{ locale } - {' '} { locale }
</span> </span>
); );
}, },
@ -32,7 +31,6 @@ export default React.createClass({
company, company,
position, position,
isHighlighted, isHighlighted,
postedOn,
locale locale
}) => { }) => {
@ -59,7 +57,6 @@ export default React.createClass({
className='pull-right' className='pull-right'
style={{ display: 'inline-block' }}> style={{ display: 'inline-block' }}>
{ this.addLocation(locale) } { this.addLocation(locale) }
{ moment(new Date(postedOn)).format('MMM Do') }
</h4> </h4>
</div> </div>
</ListGroupItem> </ListGroupItem>

View File

@ -42,7 +42,7 @@ const checkValidity = [
'howToApply' 'howToApply'
]; ];
const hightlightCopy = ` const hightlightCopy = `
Highlight my post to make it stand out. (+$50) Highlight my post to make it stand out. (+$250)
`; `;