|
9 | 9 | [pageSizeOptions]="pageSizeOptions">
|
10 | 10 | <table [dataSource]="dataSource" mat-table class="w-100">
|
11 | 11 | <ng-container matColumnDef="id">
|
12 |
| - <th *matHeaderCellDef mat-header-cell>{{'VO_DETAIL.APPLICATION.TABLE_ID' | translate}}</th> |
| 12 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.ID' | translate}}</th> |
13 | 13 | <td *matCellDef="let application" class="static-column-size" mat-cell>
|
14 | 14 | {{application['id']}}
|
15 | 15 | </td>
|
16 | 16 | </ng-container>
|
17 | 17 | <ng-container matColumnDef="voId">
|
18 |
| - <th *matHeaderCellDef mat-header-cell> |
19 |
| - {{'VO_DETAIL.APPLICATION.TABLE_VO_ID' | translate}} |
20 |
| - </th> |
| 18 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.VO_ID' | translate}}</th> |
21 | 19 | <td *matCellDef="let application" class="static-column-size" mat-cell>
|
22 | 20 | {{application['vo'].id}}
|
23 | 21 | </td>
|
24 | 22 | </ng-container>
|
25 | 23 | <ng-container matColumnDef="voName">
|
26 |
| - <th *matHeaderCellDef mat-header-cell> |
27 |
| - {{'VO_DETAIL.APPLICATION.TABLE_VO_NAME' | translate}} |
28 |
| - </th> |
| 24 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.VO_NAME' | translate}}</th> |
29 | 25 | <td *matCellDef="let application" class="static-column-size" mat-cell>
|
30 | 26 | {{application['vo'].name}}
|
31 | 27 | </td>
|
32 | 28 | </ng-container>
|
33 | 29 | <ng-container matColumnDef="groupId">
|
34 |
| - <th *matHeaderCellDef mat-header-cell> |
35 |
| - {{'VO_DETAIL.APPLICATION.TABLE_GROUP_ID' | translate}} |
36 |
| - </th> |
| 30 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.GROUP_ID' | translate}}</th> |
37 | 31 | <td *matCellDef="let application" class="static-column-size" mat-cell>
|
38 | 32 | {{application.group ? application.group.id : '' }}
|
39 | 33 | </td>
|
40 | 34 | </ng-container>
|
41 | 35 | <ng-container matColumnDef="groupName">
|
42 |
| - <th *matHeaderCellDef mat-header-cell> |
43 |
| - {{'VO_DETAIL.APPLICATION.TABLE_GROUP_NAME' | translate}} |
44 |
| - </th> |
| 36 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.GROUP_NAME' | translate}}</th> |
45 | 37 | <td *matCellDef="let application" class="static-column-size" mat-cell>
|
46 | 38 | {{application.group ? application.group.name : '' }}
|
47 | 39 | </td>
|
48 | 40 | </ng-container>
|
49 | 41 | <ng-container matColumnDef="type">
|
50 |
| - <th *matHeaderCellDef mat-header-cell> |
51 |
| - {{'VO_DETAIL.APPLICATION.TABLE_TYPE' | translate}} |
52 |
| - </th> |
| 42 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.TYPE' | translate}}</th> |
53 | 43 | <td *matCellDef="let application" mat-cell>{{application.type}}</td>
|
54 | 44 | </ng-container>
|
55 | 45 | <ng-container matColumnDef="state">
|
56 |
| - <th *matHeaderCellDef mat-header-cell> |
57 |
| - {{'VO_DETAIL.APPLICATION.TABLE_STATE' | translate}} |
58 |
| - </th> |
| 46 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.STATE' | translate}}</th> |
59 | 47 | <td *matCellDef="let application" mat-cell>{{application.state}}</td>
|
60 | 48 | </ng-container>
|
61 | 49 | <ng-container matColumnDef="extSourceName">
|
62 |
| - <th *matHeaderCellDef mat-header-cell> |
63 |
| - {{'VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME' | translate}} |
64 |
| - </th> |
| 50 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.EXTSOURCENAME' | translate}}</th> |
65 | 51 | <td *matCellDef="let application" mat-cell>{{application.extSourceName}}</td>
|
66 | 52 | </ng-container>
|
67 | 53 | <ng-container matColumnDef="extSourceType">
|
68 |
| - <th *matHeaderCellDef mat-header-cell> |
69 |
| - {{'VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE' | translate}} |
70 |
| - </th> |
| 54 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.EXTSOURCETYPE' | translate}}</th> |
71 | 55 | <td *matCellDef="let application" mat-cell>{{application.extSourceType}}</td>
|
72 | 56 | </ng-container>
|
73 | 57 | <ng-container matColumnDef="user">
|
74 |
| - <th *matHeaderCellDef mat-header-cell> |
75 |
| - {{'VO_DETAIL.APPLICATION.TABLE_USER' | translate}} |
76 |
| - </th> |
| 58 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.USER' | translate}}</th> |
77 | 59 | <td *matCellDef="let application" mat-cell>
|
78 | 60 | {{application.user ? (application.user | userFullName) : 'null'}}
|
79 | 61 | </td>
|
80 | 62 | </ng-container>
|
81 | 63 | <ng-container matColumnDef="createdBy">
|
82 |
| - <th *matHeaderCellDef mat-header-cell> |
83 |
| - {{'VO_DETAIL.APPLICATION.TABLE_CREATED_BY' | translate}} |
84 |
| - </th> |
| 64 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.CREATED_BY' | translate}}</th> |
85 | 65 | <td *matCellDef="let application" mat-cell>
|
86 | 66 | {{application.createdBy.slice(application.createdBy.lastIndexOf('=')+1, application.createdBy.length)}}
|
87 | 67 | </td>
|
88 | 68 | </ng-container>
|
89 | 69 | <ng-container matColumnDef="createdAt">
|
90 |
| - <th *matHeaderCellDef mat-header-cell> |
91 |
| - {{'VO_DETAIL.APPLICATION.TABLE_CREATED_DATE' | translate}} |
92 |
| - </th> |
| 70 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.CREATED_DATE' | translate}}</th> |
93 | 71 | <td *matCellDef="let application" mat-cell>{{application.createdAt | date: 'd.M.y'}}</td>
|
94 | 72 | </ng-container>
|
95 | 73 | <ng-container matColumnDef="modifiedBy">
|
96 |
| - <th *matHeaderCellDef mat-header-cell> |
97 |
| - {{'VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY' | translate}} |
98 |
| - </th> |
| 74 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.MODIFIED_BY' | translate}}</th> |
99 | 75 | <td *matCellDef="let application" mat-cell>{{getFriendlyName(application.modifiedBy)}}</td>
|
100 | 76 | </ng-container>
|
101 | 77 | <ng-container matColumnDef="modifiedAt">
|
102 |
| - <th *matHeaderCellDef mat-header-cell> |
103 |
| - {{'VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT' | translate}} |
104 |
| - </th> |
| 78 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.MODIFIED_AT' | translate}}</th> |
105 | 79 | <td *matCellDef="let application" mat-cell>{{application.modifiedAt | date: 'd.M.y'}}</td>
|
106 | 80 | </ng-container>
|
107 | 81 |
|
|
113 | 87 | </ng-container>
|
114 | 88 |
|
115 | 89 | <ng-container matColumnDef="fedInfo">
|
116 |
| - <th *matHeaderCellDef mat-header-cell> |
117 |
| - {{'VO_DETAIL.APPLICATION.TABLE_FEDINFO' | translate}} |
118 |
| - </th> |
| 90 | + <th *matHeaderCellDef mat-header-cell>{{'APPLICATIONS_LIST.FEDINFO' | translate}}</th> |
119 | 91 | <td *matCellDef="let application" mat-cell>{{application.fedInfo}}</td>
|
120 | 92 | </ng-container>
|
121 | 93 |
|
|
0 commit comments