[Admin|Trunk]: Add Organizations functionallity.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56345 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
1a26a55797
commit
63a8efe503
|
@ -212,11 +212,11 @@ export class AppComponent implements OnInit{
|
|||
'/community-edit-form', false, [], [], {communityId: this.communityId}),
|
||||
items: []
|
||||
});
|
||||
/*community.items.push({
|
||||
community.items.push({
|
||||
rootItem: new MenuItem('communityAffiliations', 'Community Organizations', '/organizations',
|
||||
'/organizations', false, [], [], {communityId: this.communityId}),
|
||||
items: []
|
||||
});*/
|
||||
});
|
||||
/*community.items.push({
|
||||
rootItem: new MenuItem('communityLayout', 'Community Layout', '/community-layout',
|
||||
'/community-layout', false, [], [], {communityId: this.communityId}),
|
||||
|
|
|
@ -137,8 +137,6 @@ export class AffiliationsComponent implements OnInit {
|
|||
} else {
|
||||
HelperFunctions.scroll();
|
||||
|
||||
console.info(this.affiliation);
|
||||
|
||||
this.showLoading = true;
|
||||
|
||||
this.affiliationService.updateAffiliation(this.properties.communityAPI + this.communityId + '/organizations',
|
||||
|
@ -190,8 +188,6 @@ export class AffiliationsComponent implements OnInit {
|
|||
}
|
||||
|
||||
removeAffiliation() {
|
||||
console.info(this.affiliations[this.index]);
|
||||
console.info(this.affiliation);
|
||||
if(!this.curatorAffiliations) {
|
||||
HelperFunctions.scroll();
|
||||
|
||||
|
|
|
@ -13,9 +13,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<a routerLink="/community-edit-form" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Edit Community Profile</a><br>
|
||||
<!--
|
||||
<a routerLink="/organizations" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Edit Community Organizations</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="communityId != 'openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover">
|
||||
|
|
Loading…
Reference in New Issue