[Library | Trunk]: Add external link on advanced buttons and open new tab
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58318 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
116777702e
commit
e5ef1ceaf7
|
@ -3,8 +3,9 @@
|
|||
<!-- *ngIf="fetch.searchUtils.totalResults > 0"-->
|
||||
<div *ngIf="fetch.searchUtils.totalResults > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="params"
|
||||
<a [queryParams]="params" target="_blank"
|
||||
[routerLink]="searchLinkToAdvancedPage">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">{{typeName}}</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<!-- Web Page -->
|
||||
<li *ngIf="organizationInfo.title && organizationInfo.title.url">
|
||||
<span class="uk-text-muted">Web page: </span>
|
||||
<a [href]="organizationInfo.title.url">
|
||||
<a [href]="organizationInfo.title.url" target="_blank">
|
||||
<span>{{organizationInfo.title.url}}</span>
|
||||
<span class="custom-external custom-icon space"></span>
|
||||
</a>
|
||||
|
@ -56,7 +56,8 @@
|
|||
<div class="uk-position-relative">
|
||||
<!-- <a [queryParams]="routerHelper.createQueryParams(['organization', 'og', 'type'], [organizationId, 'and', 'publications'])"-->
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'publications', 'false'])"
|
||||
[routerLink]="properties.searchLinkToAdvancedResults">
|
||||
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">Publications</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
@ -68,7 +69,8 @@
|
|||
<div *ngIf="total.datasets > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'datasets', 'false'])"
|
||||
[routerLink]="properties.searchLinkToAdvancedResults">
|
||||
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">Research Data</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
@ -80,7 +82,8 @@
|
|||
<div *ngIf="total.software > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'software', 'false'])"
|
||||
[routerLink]="properties.searchLinkToAdvancedResults">
|
||||
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">Software</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
@ -92,7 +95,8 @@
|
|||
<div *ngIf="total.other > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'other', 'false'])"
|
||||
[routerLink]="properties.searchLinkToAdvancedResults">
|
||||
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">Other Research Products</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
@ -104,7 +108,8 @@
|
|||
<div *ngIf="total.dataproviders > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0'], ['relorganizationid', organizationId])"
|
||||
[routerLink]="properties.searchLinkToAdvancedDataProviders">
|
||||
[routerLink]="properties.searchLinkToAdvancedDataProviders" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">Content Providers</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
|
|
@ -554,4 +554,8 @@ export class OrganizationComponent {
|
|||
getFunderProjects(): string {
|
||||
return this.downloadURLAPI + '?'+this.csvProjectParamsHead+encodeURI(this.funder.id)+this.csvParamsTail;
|
||||
}
|
||||
|
||||
open(value: any) {
|
||||
console.log(value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,8 @@
|
|||
<div *ngIf="fetch.searchUtils.totalResults > 0">
|
||||
<div class="uk-position-relative">
|
||||
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"
|
||||
[routerLink]="properties.searchLinkToAdvancedResults">
|
||||
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
|
||||
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
||||
<div class="header target uk-text-bold">{{typeName}}</div>
|
||||
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
||||
<div class="footer target uk-position-relative">
|
||||
|
|
Loading…
Reference in New Issue