Skip to content

Commit 469524c

Browse files
authored
Merge pull request #327 from 0x41head/activity-level--on-excel
added activity level in excel
2 parents d7958f9 + cdd7d69 commit 469524c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/app/component/mapping/mapping.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
<th>Dimension</th>
156156
<th>Sub Dimension</th>
157157
<th>Activity</th>
158+
<th>Level</th>
158159
<th>Description</th>
159160
<th>Risk</th>
160161
<th>Measure</th>
@@ -193,6 +194,11 @@
193194
{{ item.activityName | slice : 0 : 32767 }}
194195
</ng-container>
195196
</td>
197+
<td>
198+
<ng-container *ngIf="item.level">
199+
{{ '' + item.level | slice : 0 : 32767 }}
200+
</ng-container>
201+
</td>
196202
<td>
197203
<ng-container *ngIf="item.description && item.description.length > 0">
198204
{{ item.description | slice : 0 : 32767 }}

src/app/component/mapping/mapping.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface MappingElementSortedByISO17 {
4444
dependsOn: string[];
4545
comments: string;
4646
assessment: string;
47+
level: number;
4748
implementation: any;
4849
teamImplementation: {
4950
[key: string]: boolean;
@@ -345,6 +346,8 @@ export class MappingComponent implements OnInit {
345346
var CurrentTeamsEvidence =
346347
this.YamlObject[dim][subDim][activity]['teamsEvidence'];
347348

349+
var CurrentActivityLevel = this.YamlObject[dim][subDim][activity]['level'];
350+
348351
this.temporaryMappingElement = {
349352
dimension: dim,
350353
subDimension: subDim,
@@ -360,6 +363,7 @@ export class MappingComponent implements OnInit {
360363
resources: CurrentResources,
361364
usefulness: CurrentUsefulness,
362365
dependsOn: CurrentDependsOn,
366+
level: CurrentActivityLevel,
363367
implementation: CurrentImplementation,
364368
comments: CurrentComments,
365369
assessment: CurrentAssessment,

0 commit comments

Comments
 (0)