2 ~ Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
16 <div class="activity-log">
17 <div class="sdc-filter-bar-wrapper">
19 [placeHolder]="'Search...'"
20 [testId]="activityLogSearchBar"
21 (keyup)="updateFilter($event)">
33 <ngx-datatable-column name="Time" [flexGrow]="2" [prop]="'TIMESTAMP'">
34 <ng-template ngx-datatable-cell-template let-row="row">
35 {{row.TIMESTAMP | date }} | {{row.TIMESTAMP | date:"HH:mm O"}}
37 </ngx-datatable-column>
38 <ngx-datatable-column name="Action" [flexGrow]="3" [prop]="'ACTION'">
39 <ng-template ngx-datatable-cell-template let-row="row">
42 </ngx-datatable-column>
43 <ngx-datatable-column name="Comment" [flexGrow]="5" [prop]="'COMMENT'">
44 <ng-template ngx-datatable-cell-template let-row="row">
45 <span sdc-tooltip [tooltip-text]="row.COMMENT">{{ row.COMMENT }}</span>
47 </ngx-datatable-column>
48 <ngx-datatable-column name="Modifier" [flexGrow]="3" [prop]="'MODIFIER'">
49 <ng-template ngx-datatable-cell-template let-row="row">
52 </ngx-datatable-column>
53 <ngx-datatable-column name="Status" [flexGrow]="1" [prop]="'STATUS'">
54 <ng-template ngx-datatable-cell-template let-row="row">
56 [name]="row.STATUS <= 399 ? 'success' : 'icons_close'"
57 [mode]="row.STATUS <= 399 ? 'success' : 'error'"
60 [labelPlacement]="'left'"
61 [labelClassName]="'label'"
65 </ngx-datatable-column>