@@ -13,6 +13,8 @@ import Typography from '@mui/material/Typography';
1313import WorkPackageSummary from './WorkPackageSummary' ;
1414import DetailDisplay from '../../../components/DetailDisplay' ;
1515import LinkView from '../../../components/Link/LinkView' ;
16+ import GroupIcon from '@mui/icons-material/Group' ;
17+ import { getProjectTeamsName } from '../../../utils/gantt.utils' ;
1618
1719interface ProjectDetailsProps {
1820 project : Project ;
@@ -33,31 +35,34 @@ const ProjectDetails: React.FC<ProjectDetailsProps> = ({ project }) => {
3335 </ Typography >
3436
3537 < Grid container spacing = { 2 } >
38+ < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
39+ < GroupIcon sx = { { mr : 2 } } />
40+ < DetailDisplay
41+ label = { project . teams . length > 1 ? 'Teams' : 'Team' }
42+ content = { getProjectTeamsName ( project ) }
43+ paddingRight = { 1 }
44+ />
45+ </ Grid >
3646 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
3747 < Construction sx = { { mr : 2 } } />
3848 < DetailDisplay label = "Project Lead" content = { fullNamePipe ( project . projectLead ) } paddingRight = { 1 } />
3949 </ Grid >
40-
4150 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
4251 < ScheduleIcon sx = { { mr : 2 } } />
4352 < DetailDisplay label = "Start Date" content = { datePipe ( project . startDate ) || 'n/a' } paddingRight = { 1 } />
4453 </ Grid >
45-
4654 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
4755 < Work sx = { { mr : 2 } } />
4856 < DetailDisplay label = "Project Manager" content = { fullNamePipe ( project . projectManager ) } paddingRight = { 1 } />
4957 </ Grid >
50-
5158 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
5259 < ScheduleIcon sx = { { mr : 2 } } />
5360 < DetailDisplay label = "End Date" content = { datePipe ( project . endDate ) || 'n/a' } paddingRight = { 1 } />
5461 </ Grid >
55-
5662 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
5763 < AttachMoneyIcon sx = { { mr : 2 } } />
5864 < DetailDisplay label = "Budget" content = { dollarsPipe ( project . budget ) } paddingRight = { 1 } />
5965 </ Grid >
60-
6166 < Grid item display = "flex" alignItems = "center" xs = { 12 } sm = { 6 } >
6267 < ScheduleIcon sx = { { mr : 2 } } />
6368 < DetailDisplay label = "Duration" content = { weeksPipe ( project . duration ) } paddingRight = { 1 } />
0 commit comments