File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
source/views/sis/student-work Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const Title = glamorous.text({
3030 marginVertical : 10 ,
3131} )
3232
33- function Information ( { job} : { job : JobType } ) {
33+ function ContactInformation ( { job} : { job : JobType } ) {
3434 const office = job . office ? (
3535 < Cell cellStyle = "LeftDetail" detail = "Office" title = { job . office } />
3636 ) : null
@@ -64,6 +64,17 @@ function Information({job}: {job: JobType}) {
6464 />
6565 ) : null
6666
67+ return (
68+ < Section header = "CONTACT INFORMATION" >
69+ { office }
70+ { contactName }
71+ { contactEmail }
72+ { contactPhone }
73+ </ Section >
74+ )
75+ }
76+
77+ function JobInformation ( { job} : { job : JobType } ) {
6778 const ending = job . hoursPerWeek === 'Full-time' ? '' : ' hrs/week'
6879 const hours = job . hoursPerWeek ? (
6980 < Cell
@@ -90,11 +101,7 @@ function Information({job}: {job: JobType}) {
90101 ) : null
91102
92103 return (
93- < Section header = "INFORMATION" >
94- { office }
95- { contactName }
96- { contactEmail }
97- { contactPhone }
104+ < Section header = "JOB INFORMATION" >
98105 { hours }
99106 { amount }
100107 { year }
@@ -182,7 +189,8 @@ export class JobDetailView extends React.PureComponent<Props> {
182189 < ScrollView >
183190 < Title selectable = { true } > { job . title } </ Title >
184191 < TableView >
185- < Information job = { job } />
192+ < ContactInformation job = { job } />
193+ < JobInformation job = { job } />
186194 < FirstYearAppropriate job = { job } />
187195 < Description job = { job } />
188196 < Skills job = { job } />
You can’t perform that action at this time.
0 commit comments