openaire-library/utils/manage/manage.component.ts

18 lines
474 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 portal-button'"
target="_blank">
Manage
</a>
`
})
export class ManageComponent {
@Input() communityId:string;
@Input() buttonSizeSmall = true;
constructor() {}
}