File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 7979 @if (audit.otherAuditObject; as dso) {
8080 {{ getDsoName(dso) }} < em > ({{ dso.type }})</ em >
8181 } @else {
82- {{ dataNotAvailable }}
82+ {{ 'audit.data.self' | translate }}
8383 }
8484 </ span >
8585 </ td >
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010 Input ,
1111} from '@angular/core' ;
1212import { RouterLink } from '@angular/router' ;
13- import { AUDIT_PERSON_NOT_AVAILABLE } from '@dspace/core/data/audit-data.service' ;
1413import { DSpaceObjectDataService } from '@dspace/core/data/dspace-object-data.service' ;
1514import { PaginationComponentOptions } from '@dspace/core/pagination/pagination-component-options.model' ;
1615import { getDSORoute } from '@dspace/core/router/utils/dso-route.utils' ;
@@ -77,7 +76,6 @@ export class AuditTableComponent {
7776 */
7877 readonly auditPath = 'auditlogs' ;
7978
80- protected readonly dataNotAvailable = AUDIT_PERSON_NOT_AVAILABLE ;
8179
8280 /**
8381 * Date format to use for start and end time of audits
Original file line number Diff line number Diff line change @@ -12,10 +12,7 @@ import {
1212 Router ,
1313 RouterLink ,
1414} from '@angular/router' ;
15- import {
16- AUDIT_PERSON_NOT_AVAILABLE ,
17- AuditDataService ,
18- } from '@dspace/core/data/audit-data.service' ;
15+ import { AuditDataService } from '@dspace/core/data/audit-data.service' ;
1916import { PaginationComponentOptions } from '@dspace/core/pagination/pagination-component-options.model' ;
2017import { getDSORoute } from '@dspace/core/router/utils/dso-route.utils' ;
2118import { TranslateModule } from '@ngx-translate/core' ;
@@ -104,8 +101,6 @@ export class ObjectAuditLogsComponent implements OnInit {
104101
105102 objectRoute : string ;
106103
107- dataNotAvailable = AUDIT_PERSON_NOT_AVAILABLE ;
108-
109104 constructor ( protected route : ActivatedRoute ,
110105 protected router : Router ,
111106 protected auditService : AuditDataService ,
Original file line number Diff line number Diff line change 901901
902902 "audit.data.not-found" : "No audits found." ,
903903
904+ "audit.data.self" : "self" ,
905+
904906 "audit.detail.metadata.field" : "Metadata field:" ,
905907
906908 "audit.detail.metadata.value" : "Value:" ,
931933
932934 "audit.overview.table.eperson" : "EPerson" ,
933935
934- "audit.overview.table.other" : "Other Object" ,
936+ "audit.overview.table.other" : "Object" ,
935937
936938 "audit.overview.table.timestamp" : "Time (UTC)" ,
937939
You can’t perform that action at this time.
0 commit comments