46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import {Component, Input} from '@angular/core';
|
|
import {Meta, Title} from '@angular/platform-browser';
|
|
|
|
@Component({
|
|
selector: 'my-claims',
|
|
template: `
|
|
<div id="tm-main" class=" uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
|
|
<div class="uk-grid" >
|
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
|
|
|
<div class="uk-container uk-margin-top">
|
|
<div class="uk-h5 uk-text-bold">
|
|
My links
|
|
</div>
|
|
|
|
<div class=" ">
|
|
Manage your links in OpenAIRE
|
|
</div>
|
|
<div>
|
|
<displayClaims [enableDelete]=true [myClaims]=true [isAdmin]=false [showUserEmail]=false
|
|
moreClaimsURL="/participate/claim" [claimsInfoURL]=claimsInfoURL
|
|
></displayClaims>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`
|
|
|
|
})
|
|
export class MyClaimsComponent {
|
|
@Input() claimsInfoURL: string;
|
|
|
|
constructor(private _meta: Meta, private _title: Title) {
|
|
let title = "OpenAIRE | My links";
|
|
|
|
this._meta.updateTag({content: title}, "property='og:title'");
|
|
this._title.setTitle(title);
|
|
}
|
|
|
|
ngOnInit() {
|
|
|
|
}
|
|
|
|
}
|