[Library | Trunk]: advancedSearchForm.component.html: Dropdown for advanced search link (all content) replaced with a link to advanced search results (research products).

This commit is contained in:
Konstantina Galouni 2022-05-13 15:46:54 +03:00
parent bb4c310ede
commit 5aa832d698
1 changed files with 5 additions and 19 deletions

View File

@ -136,25 +136,11 @@
[queryParams]="{q:this.selectedFields[0].value,op:'and'}" [queryParams]="{q:this.selectedFields[0].value,op:'and'}"
[ngClass]="(isDisabled)?'uk-disabled uk-link-muted':null">Advanced search [ngClass]="(isDisabled)?'uk-disabled uk-link-muted':null">Advanced search
</a> </a>
<ng-container *ngIf="this.entityType=='all'"> <a *ngIf =" this.entityType =='all'"
<a>Advanced Search</a> [routerLink]="properties.searchLinkToAdvancedResults"
<div class="uk-dropdown" uk-dropdown="pos: bottom-left; offset: 5; delay-hide: 0;"> [queryParams]="advancedSearchLinkParameters"
<ul class="uk-nav uk-dropdown-nav"> [ngClass]="(isDisabled)?'uk-disabled uk-link-muted':null">Advanced search
<li> </a>
<a [routerLink]="properties.searchLinkToAdvancedResults" [queryParams]="advancedSearchLinkParameters">{{openaireEntities.RESULTS}}</a>
</li>
<li>
<a [routerLink]="properties.searchLinkToAdvancedProjects" [queryParams]="advancedSearchLinkParameters" >{{openaireEntities.PROJECTS}}</a>
</li>
<li>
<a [routerLink]="properties.searchLinkToAdvancedDataProviders" [queryParams]="advancedSearchLinkParameters">{{openaireEntities.DATASOURCES}}</a>
</li>
<li>
<a [routerLink]="properties.searchLinkToAdvancedOrganizations" [queryParams]="advancedSearchLinkParameters">{{openaireEntities.ORGANIZATIONS}}</a>
</li>
</ul>
</div>
</ng-container>
</div> </div>
<div class="uk-flex uk-flex-center uk-child-width-1-1"> <div class="uk-flex uk-flex-center uk-child-width-1-1">
<ng-container *ngIf="entitiesSelection"> <ng-container *ngIf="entitiesSelection">