21 lines
482 B
TypeScript
21 lines
482 B
TypeScript
import { Component, Input} from '@angular/core';
|
|
@Component({
|
|
selector: 'manage',
|
|
template: `
|
|
|
|
<a [href]="'https://beta.admin.connect.openaire.eu/dashboard?communityId='+communityId"
|
|
[class]=" ((buttonSizeSmall)?'uk-button-small':'')+' uk-button uk-button-primary'"
|
|
target="_blank">
|
|
Manage
|
|
</a>
|
|
|
|
|
|
`
|
|
})
|
|
|
|
export class ManageComponent {
|
|
@Input() communityId:string;
|
|
@Input() buttonSizeSmall = true;
|
|
constructor() {}
|
|
}
|