Revision 54208
Added by Argiro Kokogiannaki almost 6 years ago
modules/uoa-admin-portal/trunk/src/app/app.component.html | ||
---|---|---|
1 |
<navbar *ngIf= "properties" portal="connect-admin" logoPath="assets/imgs/" onlyTop=false userMenu=true [userMenuItems]=userMenuItems [menuItems]=menuItems [(logInUrl)]=logInUrl [(logOutUrl)]=logOutUrl [(community)]=community class="adminMenu"></navbar>
|
|
1 |
<navbar *ngIf= "properties" portal="connect-admin" logoPath="assets/imgs/" [onlyTop]=false [userMenu]=true [homeurl] = false [userMenuItems]=userMenuItems [menuItems]=menuItems [(logInUrl)]=logInUrl [(logOutUrl)]=logOutUrl [(community)]=community class="adminMenu"></navbar>
|
|
2 | 2 |
|
3 | 3 |
|
4 | 4 |
<div id="wrapper" class="uk-section uk-margin-top uk-padding-remove-bottom"> |
... | ... | |
9 | 9 |
|
10 | 10 |
<a routerLink="/dashboard" [queryParams]="{communityId: this.communityId}" routerLinkActive="active"> |
11 | 11 |
|
12 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="home"></span> Dashboard</span>
|
|
12 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="home"></span> Overview</span>
|
|
13 | 13 |
</a> |
14 | 14 |
|
15 | 15 |
</li> |
16 | 16 |
<li *ngIf="communityId != 'openaire'" class="uk-nav-header uk-parent"> |
17 | 17 |
<span class="uk-margin-small-right uk-icon" uk-icon="album"></span> |
18 |
Manage community
|
|
18 |
Community
|
|
19 | 19 |
|
20 | 20 |
<ul class="uk-nav-sub"> |
21 | 21 |
<li *ngIf="isPortalAdministrator"> |
... | ... | |
27 | 27 |
<li > |
28 | 28 |
<a routerLink="/community-edit-form" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
29 | 29 |
|
30 |
<span>Profile</span>
|
|
30 |
<span>Community profile</span>
|
|
31 | 31 |
</a> |
32 | 32 |
</li> |
33 | 33 |
</ul> |
34 | 34 |
</li> |
35 | 35 |
<li *ngIf="communityId != 'openaire'" class="uk-nav-header uk-parent"> |
36 | 36 |
<span class="uk-margin-small-right uk-icon" uk-icon="list"></span> |
37 |
Manage community content
|
|
37 |
Community content
|
|
38 | 38 |
|
39 | 39 |
<ul class="uk-nav-sub"> |
40 | 40 |
<li> |
41 | 41 |
<a routerLink="/manage-projects" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
42 |
<span>Manage projects</span>
|
|
42 |
<span>Projects</span>
|
|
43 | 43 |
</a> |
44 | 44 |
</li> |
45 | 45 |
<li> |
46 | 46 |
<a routerLink="/manage-content-providers" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
47 |
<span>Manage content providers</span>
|
|
47 |
<span>Content providers</span>
|
|
48 | 48 |
</a> |
49 | 49 |
</li> |
50 | 50 |
<li *ngIf="communityType && communityType != 'ri'"> |
51 | 51 |
<a routerLink="/manage-subjects" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
52 |
<span>Manage subjects</span>
|
|
52 |
<span>Subjects</span>
|
|
53 | 53 |
</a> |
54 | 54 |
</li> |
55 | 55 |
<li> |
56 | 56 |
<a routerLink="/manage-zenodo-communities" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
57 |
<span>Manage zenodo communities</span>
|
|
57 |
<span>Zenodo communities</span>
|
|
58 | 58 |
</a> |
59 | 59 |
</li> |
60 | 60 |
|
61 | 61 |
</ul> |
62 | 62 |
</li> |
63 | 63 |
<li *ngIf="isPortalAdministrator" class="uk-nav-header uk-parent"> |
64 |
Manage classes for help text
|
|
64 |
Classes for help text
|
|
65 | 65 |
|
66 | 66 |
<ul class="uk-nav-sub"> |
67 | 67 |
<li> |
... | ... | |
74 | 74 |
</li> |
75 | 75 |
<li class="uk-nav-header uk-parent"> |
76 | 76 |
<span uk-icon="world" class="uk-icon"></span> |
77 |
Manage entities & pages
|
|
77 |
Entities & pages
|
|
78 | 78 |
|
79 | 79 |
<ul class="uk-nav-sub"> |
80 | 80 |
<li> |
... | ... | |
91 | 91 |
|
92 | 92 |
<li> |
93 | 93 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'search', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
94 |
<span>Search pages</span>
|
|
94 |
<span>Search</span> |
|
95 | 95 |
</a> |
96 | 96 |
</li> |
97 | 97 |
<li> |
98 | 98 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'link', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
99 |
<span>Link pages</span>
|
|
99 |
<span>Link</span> |
|
100 | 100 |
</a> |
101 | 101 |
</li> |
102 | 102 |
<li> |
103 | 103 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'share', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
104 |
<span>Share pages</span>
|
|
104 |
<span>Share</span> |
|
105 | 105 |
</a> |
106 | 106 |
</li> |
107 | 107 |
<li> |
108 | 108 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'landing', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
109 |
<span>Landing pages</span>
|
|
109 |
<span>Landing</span> |
|
110 | 110 |
</a> |
111 | 111 |
</li> |
112 | 112 |
<li> |
113 | 113 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'html', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
114 |
<span>Html pages</span>
|
|
114 |
<span>Html</span> |
|
115 | 115 |
</a> |
116 | 116 |
</li> |
117 | 117 |
<li> |
118 | 118 |
<a routerLink="/pages" routerLinkActive="active" [queryParams]="{type: 'other', communityId: this.communityId}" [routerLinkActiveOptions]="{exact:true}"> |
119 |
<span>Other pages</span>
|
|
119 |
<span>Other</span> |
|
120 | 120 |
</a> |
121 | 121 |
</li> |
122 | 122 |
</ul> |
... | ... | |
127 | 127 |
</li> |
128 | 128 |
<li class="uk-nav-header uk-parent"> |
129 | 129 |
<span class="uk-margin-small-right uk-icon" uk-icon="file-edit"></span> |
130 |
Manage help texts
|
|
130 |
Help texts
|
|
131 | 131 |
|
132 | 132 |
<ul class="uk-nav-sub"> |
133 | 133 |
<li> |
... | ... | |
148 | 148 |
|
149 | 149 |
<a routerLink="/stats" [queryParams]="{communityId: this.communityId}" routerLinkActive="active"> |
150 | 150 |
|
151 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="image"></span> Manage statistics & charts</span>
|
|
151 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="image"></span> Statistics & charts</span>
|
|
152 | 152 |
</a> |
153 | 153 |
|
154 | 154 |
</li> |
... | ... | |
156 | 156 |
|
157 | 157 |
<a routerLink="/claims" [queryParams]="{communityId: this.communityId}" routerLinkActive="active"> |
158 | 158 |
|
159 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="link"></span> Manage claims</span>
|
|
159 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="link"></span> Links</span>
|
|
160 | 160 |
</a> |
161 | 161 |
|
162 | 162 |
</li> |
... | ... | |
164 | 164 |
|
165 | 165 |
<a routerLink="/mining/manage-profiles" [queryParams]="{communityId: this.communityId}" routerLinkActive="active"> |
166 | 166 |
|
167 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="settings"></span> Manage text mining rules</span>
|
|
167 |
<span><span class="uk-margin-small-right uk-icon" uk-icon="settings"></span> Text mining rules</span>
|
|
168 | 168 |
</a> |
169 | 169 |
|
170 | 170 |
</li> |
171 | 171 |
<li *ngIf="communityId != 'openaire'" class="uk-nav-header uk-parent"> |
172 | 172 |
<span class="uk-margin-small-right uk-icon" uk-icon="user"></span> |
173 |
Manage users
|
|
173 |
Users
|
|
174 | 174 |
|
175 | 175 |
<ul class="uk-nav-sub"> |
176 | 176 |
<li> |
177 | 177 |
<a routerLink="/manage-subscribers" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
178 |
<span>Manage subscribers</span>
|
|
178 |
<span>Subscribers</span>
|
|
179 | 179 |
</a> |
180 | 180 |
</li> |
181 |
<li> |
|
182 |
<a [href]="'https://beta.'+this.communityId+'.openaire.eu/invite'" target="_blank"> |
|
183 |
<span>Invite to subscribe</span> |
|
184 |
</a> |
|
185 |
</li> |
|
181 | 186 |
<li> |
182 | 187 |
<a routerLink="/manage-user-notifications" routerLinkActive="active" [queryParams]="{communityId: this.communityId}"> |
183 |
<span>Manage notification settings </span>
|
|
188 |
<span>Notification settings </span>
|
|
184 | 189 |
</a> |
185 | 190 |
</li> |
186 | 191 |
|
modules/uoa-admin-portal/trunk/src/app/dashboard.component.html | ||
---|---|---|
6 | 6 |
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m uk-first-column"> |
7 | 7 |
<h3 class="uk-card-title"> |
8 | 8 |
<span class="uk-margin-small-right uk-icon" uk-icon="album"></span> |
9 |
Community Profile
|
|
9 |
Profile |
|
10 | 10 |
</h3> |
11 | 11 |
<p>Edit community information, change logo url, add community managers or subjects related to community. |
12 | 12 |
</p><p><a routerLink="/community-edit-form" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Edit Community Profile</a></p> |
... | ... | |
14 | 14 |
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m"> |
15 | 15 |
<h3 class="uk-card-title"> |
16 | 16 |
<span class="uk-margin-small-right uk-icon" uk-icon="list"></span> |
17 |
Manage community content
|
|
17 |
Content
|
|
18 | 18 |
</h3> |
19 |
Manage projects and content providers that are related to the research community.
|
|
19 |
Manage projects, content providers{{(communityType && communityType != 'ri')?', subjects':''}} and zenodo communities that are related to the research community.
|
|
20 | 20 |
<p> |
21 |
<a routerLink="/manage-projects" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage projects</a> <br> |
|
22 |
<a routerLink="/manage-content-providers" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage content providers</a> <br> |
|
23 |
<a *ngIf="communityType && communityType != 'ri'" routerLink="/manage-subjects" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage subjects</a> <br> |
|
21 |
<a routerLink="/manage-projects" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Projects</a> <br> |
|
22 |
<a routerLink="/manage-content-providers" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Content providers</a> <br> |
|
23 |
<a routerLink="/manage-zenodo-communities" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Zenodo communities</a> <br> |
|
24 |
<a *ngIf="communityType && communityType != 'ri'" routerLink="/manage-subjects" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Subjects</a> <br> |
|
24 | 25 |
<!--a href="http://scoobydoo.di.uoa.gr/connect/dashboard.html#" class="uk-button uk-button-text">Manage organizations</a--> |
25 | 26 |
</p> |
26 | 27 |
</div> |
... | ... | |
31 | 32 |
</h3> |
32 | 33 |
|
33 | 34 |
<p> Manage statistical numbers & charts that will be displayed in the dashboard and monitor pages. |
34 |
<a routerLink="/stats" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage statistics & charts</a>
|
|
35 |
<a routerLink="/stats" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Statistics & charts</a>
|
|
35 | 36 |
</p> |
36 | 37 |
</div> |
37 | 38 |
|
... | ... | |
39 | 40 |
<div *ngIf="communityId != 'openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m"> |
40 | 41 |
<h3 class="uk-card-title"> |
41 | 42 |
<span class="uk-margin-small-right uk-icon" uk-icon="link"></span> |
42 |
Claims
|
|
43 |
Links
|
|
43 | 44 |
</h3> |
44 | 45 |
Manage user claims related to the research community. |
45 | 46 |
<p> |
46 |
<a routerLink="/claims" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage claims</a>
|
|
47 |
<a routerLink="/claims" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Links</a>
|
|
47 | 48 |
</p> |
48 | 49 |
</div> |
49 | 50 |
<div class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m"> |
... | ... | |
53 | 54 |
</h3> |
54 | 55 |
Add or edit help text in research community pages. |
55 | 56 |
<p> |
56 |
<a routerLink="/pageContents" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Add help texts in pages</a><br>
|
|
57 |
<a routerLink="/classContents" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Add help texts in classes</a>
|
|
57 |
<a routerLink="/pageContents" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Help texts in pages</a><br>
|
|
58 |
<a routerLink="/classContents" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Help texts in classes</a>
|
|
58 | 59 |
</p> |
59 | 60 |
</div> |
60 | 61 |
<div *ngIf="communityType && communityType == 'ri' && communityId!='openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m"> |
... | ... | |
64 | 65 |
</h3> |
65 | 66 |
Manage text mining rules, test the rules and see the results, save and load mining profiles. |
66 | 67 |
<p> |
67 |
<a routerLink="/mining/manage-profiles" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Manage text mining rules</a>
|
|
68 |
<a routerLink="/mining/manage-profiles" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text">Text mining rules</a>
|
|
68 | 69 |
</p> |
69 | 70 |
</div> |
70 | 71 |
<div *ngIf="communityId!='openaire'" class="uk-card uk-card-default uk-card-body uk-card-hover uk-width-1-3@m"> |
... | ... | |
72 | 73 |
<span class="uk-margin-small-right uk-icon" uk-icon="user"></span> |
73 | 74 |
Users |
74 | 75 |
</h3> |
76 |
Manage subscibers, invite more users to subscibe, manage your notification settings. |
|
75 | 77 |
<p> |
76 | 78 |
<a routerLink="/manage-subscribers" routerLinkActive="active" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text"> |
77 |
<span>Manage subscribers</span>
|
|
79 |
<span>Subscribers</span>
|
|
78 | 80 |
</a> |
79 | 81 |
<br> |
80 | 82 |
<a [href]="'https://beta.'+this.communityId+'.openaire.eu/invite'" target="_blank" class="uk-button uk-button-text"> |
... | ... | |
82 | 84 |
</a> |
83 | 85 |
<br> |
84 | 86 |
<a routerLink="/manage-user-notifications" routerLinkActive="active" [queryParams]="{communityId: this.communityId}" class="uk-button uk-button-text"> |
85 |
<span>Manage notification settings </span>
|
|
87 |
<span>Notification settings </span>
|
|
86 | 88 |
</a> |
87 | 89 |
</p> |
88 | 90 |
</div> |
modules/uoa-admin-portal/trunk/src/app/pages/zenodo-communities/add-zenodo-communities.component.html | ||
---|---|---|
13 | 13 |
<span class="uk-margin-small-right uk-icon" uk-icon="warning"></span> |
14 | 14 |
Newly added Zenodo communities will be linked to your community on the next run of our algorithms. |
15 | 15 |
</div> |
16 |
<div *ngIf="zenodoCommunitySearchUtils.status == errorCodes.LOADING " |
|
17 |
class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert"> |
|
18 |
<span class="loading-gif uk-align-center" ></span> |
|
19 |
</div> |
|
20 |
<div *ngIf="zenodoCommunitySearchUtils.status == errorCodes.NONE " |
|
21 |
class="uk-animation-fade uk-margin-top uk-width-1-1 uk-alert uk-alert-warning" role="alert"> |
|
22 |
No zenodo communities found |
|
23 |
</div> |
|
16 | 24 |
<div *ngIf="zenodoCommunitySearchUtils.totalResults > 0" class="uk-align-center uk-margin-remove-bottom"> |
17 | 25 |
<div class="searchPaging uk-panel uk-margin-top uk-grid uk-margin-bottom"> |
18 | 26 |
<span class="uk-h6 uk-width-1-1@s uk-width-1-2@m"> |
... | ... | |
41 | 49 |
</a> |
42 | 50 |
<span *ngIf=" masterCommunity && item.id==masterCommunity.id" class="uk-label uk-label-warning">Master zenodo community</span> |
43 | 51 |
<span class="uk-width-1-6 uk-text-center"> |
44 |
<a *ngIf="!inCommunity(item) && !(masterCommunity && item.id==masterCommunity.id)" (click)="addCommunity(item)" class="uk-icon-button add green_background_color green_color" uk-icon="plus" title="Add"></a>
|
|
52 |
<a *ngIf="!inThelist(item, selectedCommunities) && !(masterCommunity && item.id==masterCommunity.id)" (click)="addCommunity(item)" class="uk-icon-button add green_background_color green_color" uk-icon="plus" title="Add"></a>
|
|
45 | 53 |
|
46 |
<span *ngIf="inCommunity(item)" class="uk-label uk-label-success">Added</span>
|
|
54 |
<span *ngIf="inThelist(item, selectedCommunities)" class="uk-label uk-label-success">Added</span>
|
|
47 | 55 |
|
48 |
<!-- <a *ngIf="inCommunity(item)" (click)="removeCommunity(item)" class="uk-icon-button remove red_background_color red_color" uk-icon="close" title="Undo"></a> -->
|
|
56 |
<a *ngIf="inThelist(item, newlySelectedCommunities)" (click)="removeCommunity(item)" class="uk-icon-button remove red_background_color red_color" uk-icon="close" title="Undo"></a>
|
|
49 | 57 |
</span> |
50 | 58 |
</h4> |
51 | 59 |
<div class="uk-comment-meta "> |
modules/uoa-admin-portal/trunk/src/app/pages/zenodo-communities/add-zenodo-communities.component.ts | ||
---|---|---|
32 | 32 |
public rowsOnPage = 10; |
33 | 33 |
@Input() masterCommunity = null; |
34 | 34 |
@Input() selectedCommunities = []; |
35 |
newlySelectedCommunities = []; |
|
35 | 36 |
constructor (private route: ActivatedRoute, |
36 | 37 |
private _router: Router, |
37 | 38 |
public _fb: FormBuilder, |
... | ... | |
49 | 50 |
console.info(this._router.url); |
50 | 51 |
this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} }); |
51 | 52 |
} else { |
53 |
this.zenodoCommunitySearchUtils.status = this.errorCodes.LOADING; |
|
54 |
this.newlySelectedCommunities = []; |
|
52 | 55 |
if (this.communityId != null && this.communityId != '') { |
53 | 56 |
this._zenodoCommunitieService.getZenodoCommunities(this.properties, this.properties.zenodoCommunities+"?page="+this.zenodoCommunitySearchUtils.page+"&size="+this.rowsOnPage).subscribe( |
54 | 57 |
result => { |
... | ... | |
79 | 82 |
this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} }); |
80 | 83 |
} else { |
81 | 84 |
this.zenodoCommunitySearchUtils.page=page; |
85 |
this.zenodoCommunitySearchUtils.status = this.errorCodes.LOADING; |
|
82 | 86 |
this._zenodoCommunitieService.getZenodoCommunities(this.properties, |
83 | 87 |
this.properties.zenodoCommunities+"?page="+this.zenodoCommunitySearchUtils.page |
84 | 88 |
+"&size="+this.rowsOnPage |
... | ... | |
124 | 128 |
// this.undo[project.id] = data.id; |
125 | 129 |
community["openaireId"]=data.id; |
126 | 130 |
this.selectedCommunities.push(community); |
131 |
this.newlySelectedCommunities.push(community) |
|
127 | 132 |
}, |
128 | 133 |
err => { |
129 | 134 |
console.info("error ADD"); |
... | ... | |
136 | 141 |
} |
137 | 142 |
} |
138 | 143 |
|
139 |
/* public removeCommunity( comm) {
|
|
144 |
public removeCommunity( comm) { |
|
140 | 145 |
if(!Session.isLoggedIn()){ |
141 | 146 |
console.info(this._router.url); |
142 | 147 |
this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} }); |
... | ... | |
144 | 149 |
var openaireId = this.getOpenaireId(comm); |
145 | 150 |
this._manageZenodoCommunitiesService.removeZCommunity(this.properties, this.communityId,openaireId, ).subscribe( |
146 | 151 |
data => { |
147 |
console.log(this.selectedCommunities.length); |
|
148 |
console.info("REMOVE: "+ this.communityId + " "+openaireId); |
|
149 |
console.log(comm); |
|
150 | 152 |
var pos = -1; |
151 | 153 |
for(var i=0; i< this.selectedCommunities.length;i++) { |
152 | 154 |
console.info(this.selectedCommunities[i].id+ " "+ this.selectedCommunities[i].openaireId+" "+ comm.id); |
... | ... | |
155 | 157 |
break; |
156 | 158 |
} |
157 | 159 |
} |
158 |
console.log(pos); |
|
159 | 160 |
if(pos != -1){ |
160 | 161 |
this.selectedCommunities.splice(pos, 1); |
161 | 162 |
} |
162 |
console.log(this.selectedCommunities.length); |
|
163 |
for(var i=0; i< this.newlySelectedCommunities.length;i++) { |
|
164 |
if( this.newlySelectedCommunities[i].id == comm.id) { |
|
165 |
pos= i; |
|
166 |
break; |
|
167 |
} |
|
168 |
} |
|
169 |
if(pos != -1){ |
|
170 |
this.newlySelectedCommunities.splice(pos, 1); |
|
171 |
} |
|
163 | 172 |
|
164 | 173 |
}, |
165 | 174 |
err => { |
... | ... | |
171 | 180 |
} |
172 | 181 |
) |
173 | 182 |
} |
174 |
}*/
|
|
183 |
} |
|
175 | 184 |
|
176 |
public inCommunity(community: any): any {
|
|
177 |
for(let com of this.selectedCommunities) {
|
|
185 |
public inThelist(community: any, list): any {
|
|
186 |
for(let com of list) {
|
|
178 | 187 |
if(com.id == community.id) { |
179 | 188 |
return true; |
180 | 189 |
} |
modules/uoa-admin-portal/trunk/src/app/pages/stats/stats.component.ts | ||
---|---|---|
223 | 223 |
} else { |
224 | 224 |
this.showLoading = true; |
225 | 225 |
this.updateErrorMessage = ""; |
226 |
|
|
227 | 226 |
//this.loadingMessage = 'Saving changes'; |
228 | 227 |
this.showAllInMonitor = !this.showAllInMonitor; |
229 | 228 |
|
... | ... | |
233 | 232 |
entity, |
234 | 233 |
'charts', |
235 | 234 |
'projectColumn', |
236 |
!this.showAllInMonitor,
|
|
235 |
this.showAllInMonitor, |
|
237 | 236 |
true).subscribe( |
238 | 237 |
response => console.log(JSON.stringify(response)), |
239 | 238 |
error => { |
... | ... | |
251 | 250 |
entity, |
252 | 251 |
'charts', |
253 | 252 |
'projectPie', |
254 |
!this.showAllInMonitor,
|
|
253 |
this.showAllInMonitor, |
|
255 | 254 |
true).subscribe( |
256 | 255 |
response => console.log(JSON.stringify(response)), |
257 | 256 |
error => { |
... | ... | |
269 | 268 |
entity, |
270 | 269 |
'charts', |
271 | 270 |
'projectTable', |
272 |
!this.showAllInMonitor,
|
|
271 |
this.showAllInMonitor, |
|
273 | 272 |
true).subscribe( |
274 | 273 |
response => console.log(JSON.stringify(response)), |
275 | 274 |
error => { |
modules/uoa-admin-portal/trunk/src/app/app.component.ts | ||
---|---|---|
81 | 81 |
this.community = {id: com.communityId, name: (com.shortTitle)?com.shortTitle:com.title, logoUrl:com.logoUrl}; |
82 | 82 |
this.communityType = com.type; |
83 | 83 |
this.menuItems= [ |
84 |
{rootItem: new MenuItem("dashboard","Administration Dashboard","/dashboard","/dashboard",false,[],[],{communityId:com.communityId}),
|
|
84 |
{rootItem: new MenuItem("dashboard","Overview","/dashboard","/dashboard",false,[],[],{communityId:com.communityId}),
|
|
85 | 85 |
items: [] |
86 | 86 |
} |
87 | 87 |
]; |
... | ... | |
94 | 94 |
]; |
95 | 95 |
} |
96 | 96 |
} |
97 |
this.userMenuItems.push(new MenuItem("manage-user-notifications","Manage notification settings","","/manage-user-notifications",false,[],[],{communityId: com.communityId})); |
|
97 |
if(this.communityId){ |
|
98 |
this.userMenuItems.push(new MenuItem("manage-user-notifications","Manage notification settings","","/manage-user-notifications",false,[],[],{communityId: this.communityId})); |
|
99 |
} |
|
98 | 100 |
|
101 |
|
|
99 | 102 |
}, |
100 | 103 |
error => { |
101 | 104 |
if( ( this.communityId && this.communityId != "") || window.location.pathname == "/"){ |
modules/uoa-admin-portal/trunk/src/assets/env-properties.json | ||
---|---|---|
8 | 8 |
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/", |
9 | 9 |
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", |
10 | 10 |
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/", |
11 |
|
|
12 | 11 |
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", |
13 |
|
|
14 |
|
|
15 |
|
|
16 | 12 |
"csvAPIURL" : "http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/reports", |
17 |
|
|
18 | 13 |
"searchCrossrefAPIURL" : "https://api.crossref.org/works", |
19 | 14 |
"searchDataciteAPIURL" : "https://api.datacite.org/works", |
20 |
|
|
21 | 15 |
"searchOrcidURL" : "https://pub.orcid.org/", |
22 |
|
|
23 | 16 |
"pmidURL" : "http://www.ncbi.nlm.nih.gov/pubmed/", |
24 | 17 |
"doiURL" : "https://dx.doi.org/", |
25 | 18 |
"cordisURL" : "http://cordis.europa.eu/projects/", |
26 | 19 |
"pmcURL" : "http://europepmc.org/articles/", |
27 | 20 |
"handleURL" : "http://hdl.handle.net/", |
28 |
|
|
29 | 21 |
"zenodo" : "https://zenodo.org/", |
30 | 22 |
"zenodoCommunities" : "https://zenodo.org/api/communities/", |
31 | 23 |
"openAccess" : "https://www.openaire.eu/support/faq#article-id-234", |
... | ... | |
34 | 26 |
"h2020Guidlines" : "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020", |
35 | 27 |
"ercGuidlines" : "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", |
36 | 28 |
"helpdesk" : "https://www.openaire.eu/support/helpdesk", |
37 |
|
|
38 | 29 |
"uploadService" : "http://scoobydoo.di.uoa.gr:8000/upload", |
39 | 30 |
|
40 | 31 |
"vocabulariesAPI" :"https://beta.services.openaire.eu/provision/mvc/vocabularies/", |
41 | 32 |
|
42 | 33 |
"piwikBaseUrl" :" https://analytics.openaire.eu/piwik.php?idsite=6", |
43 |
|
|
44 |
|
|
45 | 34 |
"loginUrl" :"http://scoobydoo.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login", |
46 | 35 |
|
47 | 36 |
"logoutUrl" :"https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=", |
modules/uoa-admin-portal/trunk/connect-admin-beta-properties.json | ||
---|---|---|
4 | 4 |
"useCache" : true, |
5 | 5 |
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/", |
6 | 6 |
"framesAPIURL" : "https://beta.openaire.eu/stats3/", |
7 |
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/", |
|
7 | 8 |
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/", |
8 | 9 |
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", |
9 |
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/", |
|
10 | 10 |
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/", |
11 | 11 |
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", |
12 | 12 |
"csvAPIURL" : "https://beta.services.openaire.eu/search/v2/api/reports", |
... | ... | |
19 | 19 |
"pmcURL" : "http://europepmc.org/articles/", |
20 | 20 |
"handleURL" : "http://hdl.handle.net/", |
21 | 21 |
"zenodo" : "https://zenodo.org/", |
22 |
"zenodoCommunities" : "https://zenodo.org/api/communities/", |
|
22 | 23 |
"openAccess" : "https://www.openaire.eu/support/faq#article-id-234", |
23 | 24 |
"openAccessRepo" : "https://www.openaire.eu/support/faq#article-id-310", |
24 | 25 |
"fp7Guidlines" : "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", |
... | ... | |
48 | 49 |
"adminToolsAPIURL" :"https://beta.services.openaire.eu/uoa-admin-tools/", |
49 | 50 |
|
50 | 51 |
"adminToolsCommunity" :"openaire", |
51 |
|
|
52 | 52 |
"communityAPI": "https://beta.services.openaire.eu/openaire/community/", |
53 | 53 |
|
54 | 54 |
"miningBackendURL": "https://beta.services.openaire.eu/interactive-mining", |
... | ... | |
85 | 85 |
"searchLinkToAdvancedSoftware" : "/search/advanced/software", |
86 | 86 |
"searchLinkToAdvancedDataProviders" : "/search/advanced/dataproviders", |
87 | 87 |
"searchLinkToAdvancedOrganizations" : "/search/advanced/organizations", |
88 |
"searchLinkToAdvancedPeople" : "/search/advanced/people" |
|
88 |
"searchLinkToAdvancedPeople" : "/search/advanced/people", |
|
89 |
|
|
90 |
"sendMailUrl": "https://beta.services.openaire.eu/uoa-admin-tools/sendMail", |
|
91 |
"notifyForNewManagers": "https://beta.services.openaire.eu/uoa-admin-tools/notifyForNewManagers/", |
|
92 |
"notifyForNewSubscribers": "https://beta.services.openaire.eu/uoa-admin-tools/notifyForNewSubscribers/", |
|
93 |
|
|
94 |
"lastIndexInformationLink" : "https://beta.openaire.eu/aggregation-and-content-provision-workflows", |
|
95 |
"showLastIndexInformationLink" : true, |
|
96 |
|
|
97 |
"widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", |
|
98 |
"claimsInformationLink": "https://beta.openaire.eu/linking" |
|
89 | 99 |
} |
modules/uoa-admin-portal/trunk/connect-admin-production-properties.json | ||
---|---|---|
4 | 4 |
"useCache" : true, |
5 | 5 |
"metricsAPIURL" : "https://services.openaire.eu/usagestats/", |
6 | 6 |
"framesAPIURL" : "https://www.openaire.eu/stats3/", |
7 |
"claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/", |
|
7 | 8 |
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/", |
8 | 9 |
"statisticsFrameAPIURL":"https://www.openaire.eu/stats/", |
9 |
"claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/", |
|
10 | 10 |
"searchAPIURLLAst" : "https://services.openaire.eu/search/v2/api/", |
11 | 11 |
"searchResourcesAPIURL" : "https://services.openaire.eu/search/v2/api/resources", |
12 | 12 |
"csvAPIURL" : "https://services.openaire.eu/search/v2/api/reports", |
... | ... | |
19 | 19 |
"pmcURL" : "http://europepmc.org/articles/", |
20 | 20 |
"handleURL" : "http://hdl.handle.net/", |
21 | 21 |
"zenodo" : "https://zenodo.org/", |
22 |
"zenodoCommunities" : "https://zenodo.org/api/communities/", |
|
22 | 23 |
"openAccess" : "https://www.openaire.eu/support/faq#article-id-234", |
23 | 24 |
"openAccessRepo" : "https://www.openaire.eu/support/faq#article-id-310", |
24 | 25 |
"fp7Guidlines" : "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", |
... | ... | |
48 | 49 |
"adminToolsAPIURL" :"https://services.openaire.eu/uoa-admin-tools/", |
49 | 50 |
|
50 | 51 |
"adminToolsCommunity" :"openaire", |
51 |
|
|
52 | 52 |
"communityAPI": "https://services.openaire.eu/openaire/community/", |
53 | 53 |
|
54 | 54 |
"miningBackendURL": "https://beta.services.openaire.eu/interactive-mining", |
... | ... | |
85 | 85 |
"searchLinkToAdvancedSoftware" : "/search/advanced/software", |
86 | 86 |
"searchLinkToAdvancedDataProviders" : "/search/advanced/dataproviders", |
87 | 87 |
"searchLinkToAdvancedOrganizations" : "/search/advanced/organizations", |
88 |
"searchLinkToAdvancedPeople" : "/search/advanced/people" |
|
88 |
"searchLinkToAdvancedPeople" : "/search/advanced/people", |
|
89 |
|
|
90 |
"sendMailUrl": "https://services.openaire.eu/uoa-admin-tools/sendMail", |
|
91 |
"notifyForNewManagers": "https://services.openaire.eu/uoa-admin-tools/notifyForNewManagers/", |
|
92 |
"notifyForNewSubscribers": "https://services.openaire.eu/uoa-admin-tools/notifyForNewSubscribers/", |
|
93 |
|
|
94 |
"lastIndexInformationLink" : "https://www.openaire.eu/aggregation-and-content-provision-workflows", |
|
95 |
"showLastIndexInformationLink" : true, |
|
96 |
|
|
97 |
"widgetLink" : "https://www.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", |
|
98 |
"claimsInformationLink": "https://www.openaire.eu/linking" |
|
89 | 99 |
} |
Also available in: Unified diff
Properties: update files with latest properties
Sidebar: Remove "manage" word in sidebar
add link to invite & notifications settings
Dashboard: Remove "manage" word
Stats: enable/disable all fix issue
Zenodo communities:
add loading
add remove button for newly aded communities