2021-04-01 16:40:10 +02:00
|
|
|
import {Component, OnInit} from '@angular/core';
|
|
|
|
import {properties} from "../../../environments/environment";
|
2018-01-23 11:07:39 +01:00
|
|
|
|
|
|
|
@Component({
|
2021-04-01 16:40:10 +02:00
|
|
|
selector: 'openaire-claims-admin',
|
|
|
|
template: `
|
2019-09-13 09:46:57 +02:00
|
|
|
<claims-admin *ngIf="claimsInfoURL && userInfoURL" [claimsInfoURL]=claimsInfoURL [userInfoURL]="userInfoURL">
|
2018-01-23 11:07:39 +01:00
|
|
|
</claims-admin>
|
2021-04-01 16:40:10 +02:00
|
|
|
`,
|
2018-01-23 11:07:39 +01:00
|
|
|
})
|
2021-04-01 16:40:10 +02:00
|
|
|
export class OpenaireClaimsAdminComponent implements OnInit {
|
|
|
|
claimsInfoURL: string;
|
2019-09-13 09:46:57 +02:00
|
|
|
userInfoURL: string;
|
2021-04-01 16:40:10 +02:00
|
|
|
|
|
|
|
constructor() {
|
2018-11-14 15:16:19 +01:00
|
|
|
}
|
2021-04-01 16:40:10 +02:00
|
|
|
|
2018-11-14 15:16:19 +01:00
|
|
|
public ngOnInit() {
|
2021-04-01 16:40:10 +02:00
|
|
|
this.claimsInfoURL = properties.claimsInformationLink;
|
|
|
|
this.userInfoURL = properties.userInfoUrl;
|
2018-11-14 15:16:19 +01:00
|
|
|
}
|
2018-01-23 11:07:39 +01:00
|
|
|
}
|