Changeset 4302312 for client_app/src
- Timestamp:
- 01/15/21 03:57:59 (4 years ago)
- Branches:
- master
- Children:
- ed3f5c4
- Parents:
- 21175ba
- Location:
- client_app/src/components
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/filter/search.js
r21175ba r4302312 97 97 {formData.items.map(item => { 98 98 return (item.skillsTrained && <Internships 99 title={item.title} 100 description={item.description} 101 accountName={item.accountName} 102 accountEmail={item.accountEmail} 103 skills={item.skillsTrained} 104 />) || (<Jobs 105 title={item.title} 106 description={item.description} 107 accountName={item.accountName} 108 accountEmail={item.accountEmail} 109 skills={item.skillsRequired} 110 />) 99 item={item} />) || (<Jobs item={item} />) 111 100 })} 112 101 </Container> -
client_app/src/components/item_components/job_component.js
r21175ba r4302312 6 6 return( 7 7 <Segment> 8 <Header as="h3">{props. title}</Header>8 <Header as="h3">{props.item.title}</Header> 9 9 {props.type!=="USER" ? <Button primary as={Link} to={{ 10 10 pathname: "/edit/job", 11 11 state: { 12 jobId: props.i d,13 accId: props. accId,14 type: props. type12 jobId: props.item.id, 13 accId: props.item.accId, 14 type: props.item.type 15 15 } 16 16 }}>Edit</Button> : <span> </span>} 17 <Segment>{props. description}</Segment>17 <Segment>{props.item.description}</Segment> 18 18 <Segment> 19 <Header as="h5" color="grey">{props. accountName}</Header>20 <Header as="h4" color="blue">Owner Mail: {props. accountEmail}</Header>19 <Header as="h5" color="grey">{props.item.accountName}</Header> 20 <Header as="h4" color="blue">Owner Mail: {props.item.accountEmail}</Header> 21 21 </Segment> 22 22 <Segment> 23 23 <Header as="h3">Skills Required:</Header> 24 24 <List> 25 {props. skills.map(skill => {25 {props.item.skills.map(skill => { 26 26 return <List.Item key={skill.id}>{skill.name}</List.Item> 27 27 })} -
client_app/src/components/work/company_jobs.js
r21175ba r4302312 14 14 {props.userProfile.jobs.map(item =>{ 15 15 return <Jobs 16 title={item.title} 17 description={item.description} 18 accountName={item.accountName} 19 accountEmail={item.accountEmail} 20 skills={item.skillsRequired} 21 type={props.userProfile.type} 16 item={item} 22 17 /> 23 18 })} -
client_app/src/components/work/team_jobs.js
r21175ba r4302312 14 14 {props.userProfile.jobs.map(item =>{ 15 15 return <Jobs 16 title={item.title} 17 description={item.description} 18 accountName={item.accountName} 19 accountEmail={item.accountEmail} 20 skills={item.skillsRequired} 21 type={props.userProfile.type} 16 item={item} 22 17 /> 23 18 })} -
client_app/src/components/work/user_jobs.js
r21175ba r4302312 13 13 {props.userProfile.jobs.map(item =>{ 14 14 return <Jobs 15 title={item.title} 16 description={item.description} 17 accountName={item.accountName} 18 accountEmail={item.accountEmail} 19 skills={item.skillsRequired} 20 type={props.userProfile.type} 15 item={item} 21 16 /> 22 17 })}
Note:
See TracChangeset
for help on using the changeset viewer.