33 < div class ="col-md-3 "> </ div >
44 < div class ="col-md-6 ">
55 < div class ="overlay-details " [hidden] ="!showOverlay ">
6- < div *ngIf ="activityDetails; then activityTrue; else activityFalse "> </ div >
6+ < div
7+ *ngIf ="activityDetails; then activityTrue; else activityFalse "> </ div >
78 < ng-template #activityTrue >
89 < div class ="overlay-modal ">
910 < mat-accordion multi ="true " class ="overlay-accordion ">
@@ -47,7 +48,9 @@ <h2>Nothing to show</h2>
4748 < p [innerHTML] ="activityDetails.description "> </ p >
4849 </ ng-template >
4950 </ mat-expansion-panel >
50- < mat-expansion-panel [expanded] ="true " *ngIf ="activityDetails.risk ">
51+ < mat-expansion-panel
52+ [expanded] ="true "
53+ *ngIf ="activityDetails.risk ">
5154 < mat-expansion-panel-header >
5255 < mat-panel-title >
5356 < b > Risk</ b >
@@ -97,6 +100,7 @@ <h2>Nothing to show</h2>
97100 < p [innerHTML] ="activityDetails.dependsOn "> </ p >
98101 </ ng-template >
99102 </ mat-expansion-panel >
103+
100104 < mat-expansion-panel
101105 [expanded] ="true "
102106 *ngIf ="activityDetails.difficultyOfImplementation ">
@@ -117,6 +121,20 @@ <h2>Nothing to show</h2>
117121 </ p >
118122 </ ng-template >
119123 </ mat-expansion-panel >
124+ < mat-expansion-panel
125+ [expanded] ="true "
126+ *ngIf ="activityDetails.tags ">
127+ < mat-expansion-panel-header >
128+ < mat-panel-title >
129+ < b > Tags</ b >
130+ </ mat-panel-title >
131+ </ mat-expansion-panel-header >
132+ < ng-template matExpansionPanelContent >
133+ < ul *ngFor ="let tag of activityDetails.tags ">
134+ < li [innerHTML] ="tag "> </ li >
135+ </ ul >
136+ </ ng-template >
137+ </ mat-expansion-panel >
120138 < mat-expansion-panel
121139 [expanded] ="true "
122140 *ngIf ="activityDetails.references ">
@@ -172,45 +190,79 @@ <h2>Nothing to show</h2>
172190 </ ng-template >
173191 </ div >
174192 < div id ="chart " class ="heatmapClass ">
175- < mat-card class ="example-card " *ngIf ="showActivityCard ">
176- < mat-card-title-group >
177- < mat-card-title > {{ cardHeader }}</ mat-card-title >
178- < mat-card-subtitle > {{ cardSubheader }}</ mat-card-subtitle >
179- </ mat-card-title-group >
180- < mat-card-content *ngFor ="let activity of activityData; index as i ">
181- < div *ngIf ="activity.ifActivityDone; then trueBlock; else falseBlock "> </ div >
182- < p >
183- < ng-template #trueBlock >
184- < mat-checkbox
185- (click) ="this.toggleCheckbox(i) "
186- [checked] ="true "
187- color ="primary ">
188- </ mat-checkbox >
189- < button
190- class ="normal-button "
191- (click) ="
192- navigate(currentDimension, cardHeader, 1, activity['activityName'])
193- ">
194- {{ activity['activityName'] }}
195- </ button >
196- </ ng-template >
197- < ng-template #falseBlock >
198- < mat-checkbox
199- (click) ="this.toggleCheckbox(i) "
200- [checked] ="false "
201- color ="primary ">
202- </ mat-checkbox >
203- < button
204- class ="normal-button "
205- (click) ="
206- navigate(currentDimension, cardHeader, 1, activity['activityName'])
207- ">
208- {{ activity['activityName'] }}
209- </ button >
210- </ ng-template >
211- </ p >
212- </ mat-card-content >
213- </ mat-card >
193+ < div class ="right-panel ">
194+ < div class ="team-filter ">
195+ < mat-form-field class ="team-chip-list ">
196+ < mat-label > Team Group Filter</ mat-label >
197+ < mat-chip-list selectable >
198+ < mat-chip
199+ #c ="matChip "
200+ (click) ="toggleTeamGroupSelection(c) "
201+ selected >
202+ All
203+ </ mat-chip >
204+ < mat-chip
205+ #c ="matChip "
206+ *ngFor ="let group of teamGroups | keyvalue "
207+ (click) ="toggleTeamGroupSelection(c) ">
208+ {{ group.key }}
209+ </ mat-chip >
210+ </ mat-chip-list >
211+ </ mat-form-field >
212+ < mat-form-field >
213+ < mat-label > Team Filter</ mat-label >
214+ < mat-chip-list selectable multiple >
215+ < mat-chip
216+ #c ="matChip "
217+ *ngFor ="let team of teamList "
218+ (click) ="toggleTeamSelection(c) ">
219+ {{ team }}
220+ </ mat-chip >
221+ </ mat-chip-list >
222+ </ mat-form-field >
223+ </ div >
224+ < mat-card class ="example-card " *ngIf ="showActivityCard ">
225+ < mat-card-title-group >
226+ < mat-card-title > {{ cardHeader }}</ mat-card-title >
227+ < mat-card-subtitle > {{ cardSubheader }}</ mat-card-subtitle >
228+ </ mat-card-title-group >
229+ < mat-card-content
230+ *ngFor ="let activity of activitysData; index as activityIndex ">
231+ < mat-expansion-panel >
232+ < mat-expansion-panel-header >
233+ < mat-panel-title >
234+ < button
235+ class ="normal-button "
236+ (click) ="
237+ $event.preventDefault();
238+ navigate(
239+ currentDimension,
240+ cardHeader,
241+ activity['activityName']
242+ )
243+ ">
244+ {{ activity['activityName'] }}
245+ </ button >
246+ </ mat-panel-title >
247+ </ mat-expansion-panel-header >
248+ < ng-template matExpansionPanelContent >
249+ < ul class ="team-list ">
250+ < li
251+ *ngFor ="let item of activity.teamsImplemented | keyvalue ">
252+ < mat-checkbox
253+ [checked] ="item.value === true "
254+ color ="primary "
255+ (click) ="this.teamCheckbox(activityIndex, item.key) ">
256+ {{ item.key }}
257+ </ mat-checkbox >
258+ </ li >
259+ </ ul >
260+ </ ng-template >
261+ </ mat-expansion-panel >
262+ </ mat-card-content >
263+ </ mat-card >
264+ </ div >
265+
214266 < button
215267 class ="normal-button "
216268 mat-raised-button
0 commit comments