[Connect | Trunk]: Fix a bug on my-communities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58654 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
6af7ae4797
commit
73971358ad
|
@ -27,9 +27,12 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-text-right uk-margin-top">
|
<div class="uk-text-right uk-margin-top">
|
||||||
<a *ngIf="researchCommunities.length > 5" class="portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
<a *ngIf="researchCommunities.length > 5" class="uk-display-inline-block portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
||||||
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
||||||
Browse All >
|
<span class="uk-flex uk-flex-middle">
|
||||||
|
<span> Browse All</span>
|
||||||
|
<span uk-icon="chevron-right"></span>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,9 +34,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="managerOfCommunities.length > 3" class="uk-text-right uk-width-1-1 uk-margin-top">
|
<div *ngIf="managerOfCommunities.length > 3" class="uk-text-right uk-width-1-1 uk-margin-top">
|
||||||
<a [queryParams]="{role: quote('manager')}" class="portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
<a [queryParams]="{role: quote('manager')}" class="uk-display-inline-block portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
||||||
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
||||||
<div>View all ({{managerOfCommunities.length | number}}) ></div>
|
<span class="uk-flex uk-flex-middle">
|
||||||
|
<span>View all ({{managerOfCommunities.length | number}})</span>
|
||||||
|
<span uk-icon="chevron-right"></span>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -61,9 +64,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="subscriberOfCommunities.length > 3" class="uk-text-right uk-width-1-1 uk-margin-top">
|
<div *ngIf="subscriberOfCommunities.length > 3" class="uk-text-right uk-width-1-1 uk-margin-top">
|
||||||
<a [queryParams]="{status: quote('subscribed')}" class="portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
<a [queryParams]="{status: quote('subscribed')}" class="uk-display-inline-block portal-link uk-text-uppercase uk-text-bold uk-text-small"
|
||||||
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
routerLinkActive="router-link-active" routerLink="/search/find/communities">
|
||||||
<div>View all ({{subscriberOfCommunities.length | number}}) ></div>
|
<span class="uk-flex uk-flex-middle">
|
||||||
|
<span>View all ({{subscriberOfCommunities.length | number}})</span>
|
||||||
|
<span uk-icon="chevron-right"></span>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -224,7 +224,6 @@ export class MyCommunitiesComponent {
|
||||||
private handleError(message: string, error): number {
|
private handleError(message: string, error): number {
|
||||||
var code = "";
|
var code = "";
|
||||||
if (!error.status) {
|
if (!error.status) {
|
||||||
var error = error.json();
|
|
||||||
code = error.code;
|
code = error.code;
|
||||||
} else {
|
} else {
|
||||||
code = error.status;
|
code = error.status;
|
||||||
|
|
Loading…
Reference in New Issue