Changeset ed3f5c4 for client_app/src/components/item_components
- Timestamp:
- 01/15/21 04:14:15 (4 years ago)
- Branches:
- master
- Children:
- 6729ba5
- Parents:
- 4302312
- Location:
- client_app/src/components/item_components
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/item_components/internship_component.js
r4302312 red3f5c4 5 5 return( 6 6 <Segment> 7 <Header as="h3">{props. title}</Header>8 {props. type!=="USER" ? <Button primary>Edit</Button> : <span> </span>}9 <Segment>{props. description}</Segment>7 <Header as="h3">{props.item.title}</Header> 8 {props.item.type!=="USER" ? <Button primary>Edit</Button> : <span> </span>} 9 <Segment>{props.item.description}</Segment> 10 10 <Segment> 11 <Header as="h5" color="grey">{props. accountName}</Header>12 <Header as="h4" color="blue">Owner Mail: {props. accountEmail}</Header>11 <Header as="h5" color="grey">{props.item.accountName}</Header> 12 <Header as="h4" color="blue">Owner Mail: {props.item.accountEmail}</Header> 13 13 </Segment> 14 14 <Segment> 15 15 <Header as="h3">Skills Trained:</Header> 16 16 <List> 17 {props. skills.map(skill => {17 {props.item.skillsTrained.map(skill => { 18 18 return <List.Item key={skill.id}>{skill.name}</List.Item> 19 19 })} -
client_app/src/components/item_components/job_component.js
r4302312 red3f5c4 7 7 <Segment> 8 8 <Header as="h3">{props.item.title}</Header> 9 {props. type!=="USER" ? <Button primary as={Link} to={{9 {props.item.type!=="USER" ? <Button primary as={Link} to={{ 10 10 pathname: "/edit/job", 11 11 state: { … … 23 23 <Header as="h3">Skills Required:</Header> 24 24 <List> 25 {props.item.skills .map(skill => {25 {props.item.skillsRequired.map(skill => { 26 26 return <List.Item key={skill.id}>{skill.name}</List.Item> 27 27 })} -
client_app/src/components/item_components/project_component.js
r4302312 red3f5c4 6 6 return( 7 7 <Segment> 8 <Header as="h3">{props. title}</Header>9 {props. type!=="USER" ? <Button primary>Edit</Button> : <span> </span>}10 <Segment>{props. description}</Segment>8 <Header as="h3">{props.item.title}</Header> 9 {props.item.type!=="USER" ? <Button primary>Edit</Button> : <span> </span>} 10 <Segment>{props.item.description}</Segment> 11 11 <Segment> 12 <Header as="h5" color="grey">{props. accountName}</Header>13 <Header as="h4" color="blue">Owner Mail: {props. accountEmail}</Header>12 <Header as="h5" color="grey">{props.item.accountName}</Header> 13 <Header as="h4" color="blue">Owner Mail: {props.item.accountEmail}</Header> 14 14 </Segment> 15 15 <Segment> 16 16 <Header as="h3">Skills Required:</Header> 17 17 <List> 18 {props. skills.map(skill => {18 {props.item.skillsRequired.map(skill => { 19 19 return <List.Item key={skill.id}>{skill.name}</List.Item> 20 20 })}
Note:
See TracChangeset
for help on using the changeset viewer.