[Library | Trunk]: Change admin URL on library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60505 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
584e3a0b16
commit
9737b45f07
|
@ -185,7 +185,7 @@ export class RoleVerificationComponent implements OnInit, OnDestroy {
|
|||
if(this.service === "monitor") {
|
||||
this.router.navigate(['/admin/' + this.verification.entity]);
|
||||
} else {
|
||||
window.location.href = 'https://' + (properties.environment !== 'production'?'beta.':'') + 'admin.connect.openaire.eu/' + this.verification.entity;
|
||||
window.location.href = properties.adminPortalURL + '/' + this.verification.entity;
|
||||
}
|
||||
});
|
||||
}, error => {
|
||||
|
|
|
@ -4,7 +4,7 @@ import {properties} from "../../../../environments/environment";
|
|||
@Component({
|
||||
selector: 'manage',
|
||||
template: `
|
||||
<a *ngIf="communityId" [href]="properties.adminPortalURL + '/dashboard?communityId='+communityId"
|
||||
<a *ngIf="communityId" [href]="properties.adminPortalURL + '/' + communityId"
|
||||
[class]=" ((buttonSizeSmall)?'uk-button-small':'')+' uk-button portal-button'"
|
||||
target="_blank">
|
||||
Manage
|
||||
|
|
Loading…
Reference in New Issue