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

21 lines
482 B
TypeScript
Raw Normal View History

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() {}
}