[Library | Trunk]: Result Landing fix organization url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59092 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
034a9e00a7
commit
0c31508f7a
|
@ -167,11 +167,11 @@
|
||||||
<div class="uk-text-muted">Related Organizations</div>
|
<div class="uk-text-muted">Related Organizations</div>
|
||||||
<ul class="uk-list organizations uk-margin-remove-top">
|
<ul class="uk-list organizations uk-margin-remove-top">
|
||||||
<li *ngFor="let organization of (showAll?resultLandingInfo.organizations:resultLandingInfo.organizations.slice(0,3))">
|
<li *ngFor="let organization of (showAll?resultLandingInfo.organizations:resultLandingInfo.organizations.slice(0,3))">
|
||||||
<a [routerLink]="organizationUrl" [queryParams]="{organizationId: organization.id}">
|
<a [routerLink]="properties.searchLinkToOrganization.split('?')[0]" [queryParams]="{organizationId: organization.id}">
|
||||||
{{(organization.name ? organization.name : organization.shortname)}}
|
{{(organization.name ? organization.name : (organization.shortname?organization.shortname:'No title available'))}}
|
||||||
<span *ngIf="organization.shortname">({{organization.shortname}})</span>
|
<span *ngIf="organization.shortname">({{organization.shortname}})</span>
|
||||||
</a>
|
</a>
|
||||||
<div *ngIf="organization.country">{{organization.country}}</div>
|
<div *ngIf="organization.country && !organization.country.toLowerCase().includes('unknown')">{{organization.country}}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div *ngIf="!showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
<div *ngIf="!showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
||||||
|
|
|
@ -37,7 +37,6 @@ export class ResultLandingComponent {
|
||||||
public deleteByInferenceOpened: boolean = false;
|
public deleteByInferenceOpened: boolean = false;
|
||||||
|
|
||||||
public resultLandingInfo: ResultLandingInfo;
|
public resultLandingInfo: ResultLandingInfo;
|
||||||
public organizationUrl = properties.searchLinkToOrganization.split('?')[0];
|
|
||||||
public relatedResults: RelationResult[];
|
public relatedResults: RelationResult[];
|
||||||
public supplementaryResults: RelationResult[];
|
public supplementaryResults: RelationResult[];
|
||||||
public relation: string = 'trust';
|
public relation: string = 'trust';
|
||||||
|
|
Loading…
Reference in New Issue