[Trunk|Admin]: Change connect community to be like openaire.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56200 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
25597c0ea7
commit
88c2734c98
|
@ -174,7 +174,7 @@ export class AppComponent implements OnInit{
|
|||
};
|
||||
this.sideMenuItems.push(adminTools);
|
||||
}
|
||||
if (this.communityId !== 'openaire') {
|
||||
if (this.communityId !== 'openaire' && this.communityId !== 'connect') {
|
||||
const community: SideMenuItem = {
|
||||
rootItem: new MenuItem('community', 'Community', '',
|
||||
'', false, [], [], null),
|
||||
|
@ -275,7 +275,7 @@ export class AppComponent implements OnInit{
|
|||
items: []
|
||||
});
|
||||
this.sideMenuItems.push(help);
|
||||
if (this.communityId !== 'openaire') {
|
||||
if (this.communityId !== 'openaire' && this.communityId !== 'connect') {
|
||||
const stats: SideMenuItem = {
|
||||
rootItem: new MenuItem('stats', 'Statistics & Charts', '/stats',
|
||||
'/stats', false, [], [], {communityId: this.communityId}),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="uk-child-width-1-3@m uk-grid-small uk-grid-match uk-grid uk-margin-top" uk-grid="">
|
||||
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m uk-first-column">
|
||||
<div *ngIf="communityId != 'openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m uk-first-column">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="album"></span>
|
||||
Profile
|
||||
|
@ -11,7 +11,7 @@
|
|||
<p>Edit community information, change logo url, add community managers or subjects related to community.
|
||||
</p><p><a routerLink="/community-edit-form" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Edit Community Profile</a></p>
|
||||
</div>
|
||||
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<div *ngIf="communityId != 'openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="list"></span>
|
||||
Content
|
||||
|
@ -25,7 +25,7 @@
|
|||
<!--a href="http://scoobydoo.di.uoa.gr/connect/dashboard.html#" class="uk-button uk-button-text">Manage organizations</a-->
|
||||
</p>
|
||||
</div>
|
||||
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m uk-first-column">
|
||||
<div *ngIf="communityId != 'openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m uk-first-column">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="image"></span>
|
||||
Statistics & Charts
|
||||
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<div *ngIf="communityId != 'openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="link"></span>
|
||||
Links
|
||||
|
@ -58,7 +58,7 @@
|
|||
<a routerLink="/classContents" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Help texts in classes</a>
|
||||
</p>
|
||||
</div>
|
||||
<div *ngIf="communityType && communityType == 'ri' && communityId!='openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<div *ngIf="communityType && communityType == 'ri' && communityId!='openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="settings"></span>
|
||||
Text mining rules
|
||||
|
@ -68,7 +68,7 @@
|
|||
<a routerLink="/mining/manage-profiles" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Text mining rules</a>
|
||||
</p>
|
||||
</div>
|
||||
<div *ngIf="communityId!='openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<div *ngIf="communityId!='openaire' && this.communityId !== 'connect'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m">
|
||||
<h3 class="uk-card-title">
|
||||
<span class="uk-margin-small-right uk-icon" uk-icon="user"></span>
|
||||
Users
|
||||
|
|
Loading…
Reference in New Issue