[Library | new-theme]: resultLanding.component.html & project.component.html & dataProvider.component.html: Removed old unused html code.

This commit is contained in:
Konstantina Galouni 2022-05-04 14:04:28 +03:00
parent 5e35f5dff1
commit 1febf3551d
3 changed files with 1 additions and 288 deletions

View File

@ -107,11 +107,6 @@
<span *ngIf="!dataProviderInfo.compatibility.id">
{{dataProviderInfo.compatibility.info}}
</span>
<!-- <a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
<!-- [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
<!-- [routerLink]="properties.searchLinkToDataProvider.split('?')[0]">-->
<!-- {{dataProviderInfo.compatibility.info}} {{dataProviderInfo.compatibility.name}}-->
<!-- </a>-->
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">
{{dataProviderInfo.compatibility.name}}
</span>
@ -229,23 +224,9 @@
class="uk-margin-medium-bottom uk-margin-bottom">
<div class="uk-height-max-medium uk-overflow-auto">
<div class="uk-text-meta uk-margin-small-bottom">Subjects </div>
<!-- <span *ngFor="let subject of dataProviderInfo.subjects.slice(0, showNumSubjects) let i=index">-->
<!-- <span>{{subject}}</span>-->
<!-- <span *ngIf="(i < dataProviderInfo.subjects.length-1)">, </span>-->
<!-- </span>-->
<!-- <span *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"> ... </span>-->
<span>{{dataProviderInfo.subjects.slice(0, lessBtnSubjects ? dataProviderInfo.subjects.length : thresholdSubjects).join(", ")}}</span>
<span *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"> ... </span>
</div>
<!-- <div *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"-->
<!-- class="uk-width-1-1 uk-text-right">-->
<!-- <a (click)="showNumSubjects = dataProviderInfo.subjects.length;">-->
<!-- View all {{dataProviderInfo.subjects.length | number}} subjects-->
<!-- </a>-->
<!-- </div>-->
<!-- <div *ngIf="showNumSubjects > thresholdSubjects" class="uk-width-1-1 uk-text-right">-->
<!-- <a (click)="showNumSubjects = thresholdSubjects;">View less subjects</a>-->
<!-- </div>-->
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"
class="uk-width-1-1 uk-text-right">
<a (click)="viewAllSubjectsClick();">
@ -285,33 +266,11 @@
<span *ngIf="i < dataProviderInfo.provenance.size-1">, </span>
</span>
</div>
<!-- <span *ngIf="dataProviderInfo.r3DataId" class="uk-display-inline-block">-->
<!-- <span class="uk-text-meta">Detailed information @ </span>-->
<!-- <a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">-->
<!-- re3data.org-->
<!-- <span class="custom-external custom-icon space"></span>-->
<!-- </a>-->
<!-- </span>-->
</div>
<!-- Organizations -->
<!-- <div class="uk-text-muted uk-text-small">Organizations</div>-->
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
<div *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0"
class="uk-margin-medium-bottom">
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
<div class="uk-text-meta uk-margin-small-bottom">{{openaireEntities.ORGANIZATIONS}}</div>
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? dataProviderInfo.organizations.length : thresholdOrganizations }"></ng-container>
<!-- <span *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"> ... </span>-->
<!-- </div>-->
<!-- <div *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"-->
<!-- class="uk-width-1-1 uk-text-right">-->
<!-- <a (click)="showNumOrganizations = dataProviderInfo.organizations.length;">-->
<!-- View all {{dataProviderInfo.organizations.length | number}} organizations-->
<!-- </a>-->
<!-- </div>-->
<!-- <div *ngIf="showNumOrganizations > thresholdOrganizations" class="uk-width-1-1 uk-text-right">-->
<!-- <a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>-->
<!-- </div>-->
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
class="uk-width-1-1 uk-text-right">

View File

@ -15,7 +15,6 @@
<div class="landing-left-sidebar-width landing-left-sidebar-border landing-background-light-color">
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center landing-sidebar-height uk-sticky"
uk-sticky="bottom: true" [attr.offset]="offset">
<!-- [class.uk-hidden]="!hasAltMetrics && !metricsCalculated"-->
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
<ng-container *ngIf="projectInfo && hasMetrics">
<metrics [pageViews]="pageViews"
@ -223,7 +222,6 @@
*ngIf="projectInfo.openAccessMandatePublications != undefined && !projectInfo.openAccessMandatePublications"
class="uk-margin-right">
<span class="uk-text-meta">{{openaireEntities.PUBLICATIONS}}: </span>
<!-- <span *ngIf="projectInfo.openAccessMandatePublications">Yes</span>-->
<span>No</span>
</span>
<span
@ -272,24 +270,6 @@
</div>
</div>
<div *ngIf="hasPrimaryInfo" class="uk-width-expand uk-padding uk-inline">
<!-- <div class="uk-text-meta uk-margin-small-bottom">Description</div>-->
<!-- <div class="uk-text-justify uk-height-max-medium uk-overflow-auto">-->
<!-- <span>{{projectInfo.description.substring(0, showNumDescription)}}</span>-->
<!-- <span *ngIf="showNumDescription == thresholdDescription &&-->
<!-- projectInfo.description.length > thresholdDescription">...</span>-->
<!-- </div>-->
<!-- <div *ngIf="showNumDescription == thresholdDescription &&-->
<!-- projectInfo.description.length > thresholdDescription" class="uk-text-right">-->
<!-- <a (click)="showNumDescription = projectInfo.description.length;">-->
<!-- Read more-->
<!-- </a>-->
<!-- </div>-->
<!-- <div *ngIf="projectInfo.description && showNumDescription > thresholdDescription"-->
<!-- class="uk-text-right">-->
<!-- <a (click)="showNumDescription = thresholdDescription;">-->
<!-- Read less-->
<!-- </a>-->
<!-- </div>-->
<!-- Description -->
<div *ngIf="projectInfo.description && projectInfo.description.length > 0"
class="uk-margin-medium-bottom">
@ -310,41 +290,6 @@
<div class="uk-text-meta uk-margin-small-bottom">Partners</div>
<div class="uk-margin-medium-bottom">
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? projectInfo.organizations.length : thresholdOrganizations }"></ng-container>
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
<!-- <span-->
<!-- *ngFor="let organization of projectInfo.organizations.slice(0, (viewAllOrganizations && lessBtnOrganizations) ? projectInfo.organizations.length : thresholdOrganizations) let i=index"-->
<!-- [attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"-->
<!-- [title]="organization.name">-->
<!-- <a *ngIf="organization.id" class="uk-link-text"-->
<!-- [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"-->
<!-- [routerLink]="properties.searchLinkToOrganization.split('?')[0]">-->
<!-- {{(organization.acronym) ? organization.acronym : ''}}-->
<!-- {{(!organization.acronym && organization.name) ? organization.name : ''}}-->
<!-- </a>-->
<!-- <span *ngIf="!organization.id">-->
<!-- <span *ngIf="organization.acronym">{{organization.acronym}}</span>-->
<!-- <span *ngIf="!organization.acronym && organization.name">{{organization.name}}</span>-->
<!-- </span>-->
<!-- <span *ngIf="(i < projectInfo.organizations.length-1)">, </span>-->
<!-- </span>-->
<!-- <span-->
<!-- *ngIf="!lessBtnOrganizations && projectInfo.organizations.length > thresholdOrganizations"> ... </span>-->
<!-- </div>-->
<!-- <div-->
<!-- *ngIf="showNumOrganizations == thresholdOrganizations && projectInfo.organizations.length > thresholdOrganizations"-->
<!-- class="uk-width-1-1 uk-text-right uk-margin-small-top">-->
<!-- <a (click)="showNumOrganizations = projectInfo.organizations.length;">-->
<!-- View all {{projectInfo.organizations.length | number}} organizations-->
<!-- </a>-->
<!-- </div>-->
<!-- <div *ngIf="showNumOrganizations > thresholdOrganizations"-->
<!-- class="uk-width-1-1 uk-text-right uk-margin-small-top">-->
<!-- <a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>-->
<!-- </div>-->
<div *ngIf="projectInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
class="uk-text-center">
<a (click)="viewAllOrganizationsClick();">
@ -459,19 +404,11 @@
</div>
</div>
</ng-container>
<!-- <ng-container *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0">-->
<!-- <div id="references" class="landing-section uk-padding uk-padding-remove-horizontal">-->
<!-- </div>-->
<!-- </ng-container>-->
</div>
<div class="uk-text-xsmall uk-hidden@m"><ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container></div>
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
[texts]="pageContents['bottom']"></helper>
</div>
</div>
@ -479,55 +416,6 @@
</div>
</div>
<!--<div id="tm-main" class="landing uk-section uk-padding-remove-top tm-middle">-->
<!-- <div *ngIf="!showFeedback" uk-grid>-->
<!-- <div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">-->
<!-- <div id="project" class="uk-container uk-container-large uk-margin-medium-top project">-->
<!-- <div *ngIf="projectInfo != null">-->
<!-- <div class="main-tabs-div">-->
<!-- <my-tabs (selectedActiveTab)="onSelectActiveTab($event)">-->
<!-- <my-tab-->
<!-- [tabTitle]="'Publications'" [tabNumber]="fetchPublications.searchUtils.totalResults"-->
<!-- [tabId]="'publications'">-->
<!-- <ng-container *ngTemplateOutlet="publications_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- <my-tab-->
<!-- [tabTitle]="'Research Data'" [tabNumber]="fetchDatasets.searchUtils.totalResults"-->
<!-- [tabId]="'datasets'">-->
<!-- <ng-container *ngTemplateOutlet="datasets_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- <my-tab-->
<!-- [tabTitle]="'Software'" [tabNumber]="fetchSoftware.searchUtils.totalResults"-->
<!-- [tabId]="'software'">-->
<!-- <ng-container *ngTemplateOutlet="software_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- <my-tab-->
<!-- [tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"-->
<!-- [tabId]="'other'">-->
<!-- <ng-container *ngTemplateOutlet="other_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- <my-tab-->
<!-- [tabTitle]="'Dmps'" [tabNumber]="fetchDmps.searchUtils.totalResults"-->
<!-- [tabId]="'dmps'">-->
<!-- <ng-container *ngTemplateOutlet="dmps_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- <my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
<!-- || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
<!-- [tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'">-->
<!-- <ng-container *ngTemplateOutlet="statistics_tab;"></ng-container>-->
<!-- </my-tab>-->
<!-- </my-tabs>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--</div>-->
<feedback *ngIf="projectInfo && properties.reCaptchaSiteKey" [projectInfo]="projectInfo"
[properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
[(showForm)]="showFeedback"></feedback>
@ -558,12 +446,6 @@
For further information contact us at
<u><a [href]="'mailto:'+properties.helpdeskEmail" class="uk-link-text">{{properties.helpdeskEmail}}</a></u>
</div>
<!-- <div *ngIf="embed_research_results_type" class="uk-animation-slide-top-small">-->
<!-- <ng-container *ngTemplateOutlet="embed_research_results_box;-->
<!-- context: { dynamic_content: getDynamicContent(embed_research_results_type) }">-->
<!-- </ng-container>-->
<!-- </div>-->
</div>
</div>
</modal-alert>
@ -571,56 +453,6 @@
<modal-alert *ngIf="projectInfo" #downloadReportModal>
<div class="uk-padding-small uk-margin-small-left uk-margin-small-right">
<div class="uk-padding-small uk-padding-remove-vertical">
<!-- *ngIf="projectInfo.funding &&-->
<!-- (fetchPublications.searchUtils.totalResults > 0 ||-->
<!-- fetchDatasets.searchUtils.totalResults > 0 ||-->
<!-- fetchSoftware.searchUtils.totalResults > 0 ||-->
<!-- fetchOrps.searchUtils.totalResults > 0)"-->
<!-- <mat-form-field-->
<!-- class="matSelectionFormField uk-width-1-1">-->
<!-- <mat-label>Select content type report to download</mat-label>-->
<!-- <mat-select [(value)]="download_research_results_type"-->
<!-- [disableOptionCentering]="true"-->
<!-- panelClass="entitiesSelectionPanel"-->
<!-- class="matSelection">-->
<!-- &lt;!&ndash; <mat-option value="">Select content type</mat-option>&ndash;&gt;-->
<!-- <mat-option value="results"-->
<!-- [disabled]="!projectInfo.funding ||-->
<!-- (fetchPublications.searchUtils.totalResults == 0 &&-->
<!-- fetchDatasets.searchUtils.totalResults == 0 &&-->
<!-- fetchSoftware.searchUtils.totalResults == 0 &&-->
<!-- fetchOrps.searchUtils.totalResults == 0)"-->
<!-- [attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- All research outcomes-->
<!-- </mat-option>-->
<!-- <mat-option value="publications"-->
<!-- [disabled]="!projectInfo.funding || fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Publications-->
<!-- </mat-option>-->
<!-- <mat-option value="datasets"-->
<!-- [disabled]="!projectInfo.funding || fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Research data-->
<!-- </mat-option>-->
<!-- <mat-option value="software"-->
<!-- [disabled]="!projectInfo.funding || fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Software-->
<!-- </mat-option>-->
<!-- <mat-option value="other"-->
<!-- [disabled]="!projectInfo.funding || fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Other research products-->
<!-- </mat-option>-->
<!-- </mat-select>-->
<!-- </mat-form-field>-->
<div input type="select" placeholder="Select content type report to download" inputClass="flat x-small"
[options]="resultTypesForDownloading" [(value)]="download_research_results_type" (click)="buildResultTypesForDownloading()"></div>
<div *ngIf="download_research_results_type" class="uk-animation-slide-top-small uk-margin-medium-top">
@ -643,36 +475,6 @@
</div>
</modal-alert>
<ng-template #embed_research_results_box
let-dynamic_content="dynamic_content">
<ul class="uk-list uk-margin-remove-bottom">
<li>
<div id="dynamic_content_id1">
<pre class="box-content uk-padding-remove-bottom uk-margin-remove-bottom"><code
id="clipboard">{{dynamic_content}}</code></pre>
<div class="uk-grid uk-margin-small-top">
<a
class="clipboard_btn uk-padding-remove-left uk-margin-small-left uk-text-right uk-width-1-1"
data-clipboard-target="#clipboard" title="Copy to clipboard">
<button class="uk-button uk-button-small uk-button-secondary uk-icon">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1">
<rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect>
<polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline>
</svg>
<span class="uk-margin-small-left">COPY</span>
</button>
</a>
</div>
<div class="uk-text-small uk-margin-small-top">
For further information contact us at
<u><a [href]="'mailto:'+properties.helpdeskEmail" class="uk-link-text">{{properties.helpdeskEmail}}</a></u>
</div>
</div>
</li>
</ul>
</ng-template>
<ng-template #download_research_results_box
let-type="type" let-fileName_type="fileName_type" let-csvParams="csvParams">
<ul class="uk-list uk-margin-remove-bottom">

View File

@ -15,7 +15,6 @@
<div class="landing-left-sidebar-width landing-left-sidebar-border landing-background-light-color">
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center landing-sidebar-height uk-sticky"
uk-sticky="bottom: true" [attr.offset]="offset">
<!-- [class.uk-hidden]="!hasAltMetrics && !metricsCalculated"-->
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
<ng-container *ngIf="resultLandingInfo && (hasAltMetrics || hasMetrics)">
<metrics *ngIf="hasMetrics" class="uk-margin-bottom"
@ -67,22 +66,6 @@
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
[pids]="pidsArrayString" [pageType]="'landing'">
</orcid-work>
<!-- <li *ngIf="properties.b2noteAPIURL" class="uk-text-center" [attr.uk-tooltip]="'title: add annotation; pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-primary'">-->
<!-- <a *ngIf="isLoggedIn && pid" (click)="annotation.toggleAnnotation($event)">-->
<!-- <span class="uk-icon-button uk-icon landing-action-button landing-action-button-primary">-->
<!-- <img src="assets/common-assets/b2note.png" loading="lazy" alt="b2note" style="width:34px; height:21px">-->
<!-- </span>-->
<!-- </a>-->
<!-- <span *ngIf="!pid || !isLoggedIn" class="uk-text-muted half-opacity"-->
<!-- [title]="!pid?'Annotations are available only for resources with a PID (persistent identifier) like DOI, handle, PMID':-->
<!-- 'Annotations are available only for logged in users'"-->
<!-- [attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-primary'">-->
<!-- <span class="uk-icon-button uk-icon landing-action-button landing-action-button-primary uk-disabled">-->
<!-- <img src="assets/common-assets/b2note.png" loading="lazy" alt="b2note" style="width:34px;-->
<!-- height:21px">-->
<!-- </span>-->
<!-- </span>-->
<!-- </li>-->
</ul>
</div>
</div>
@ -382,15 +365,11 @@
&& (properties.environment == 'beta' || properties.environment == 'development') && (!viewAll || viewAll=='egiNotebook')">
<a class="uk-link-text uk-text-bold custom-external"
target="_blank" [href]="properties.egiNotebookLink">
<!-- <span class="uk-icon-button uk-icon">-->
<img src="assets/common-assets/eosc-logo.png"
loading="lazy" alt="eosc_logo" style="width:27px; height:27px">
<!-- </span>-->
<span class="uk-margin-small-left uk-text-uppercase"><u>EOSC SERVICE: EGI NOTEBOOK</u></span>
</a>
</div>
<!-- <hr *ngIf="resultLandingInfo.showEgiNotebookButton && properties.adminToolsPortalType == 'explore'-->
<!-- && (properties.environment == 'beta' || properties.environment == 'development')">-->
<div *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0 && (!viewAll || viewAll=='sdg')">
<sdg [subjects]="resultLandingInfo.sdg" (viewAllClicked)="viewAll=$event"></sdg>
</div>
@ -401,25 +380,15 @@
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 && (!viewAll || viewAll=='fundedBy')">
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects" (viewAllClicked)="viewAll=$event"></fundedBy>
</div>
<!-- <hr *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0">-->
<!-- Communities -->
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0 && !noCommunities && (!viewAll || viewAll=='relatedTo')">
<relatedTo [contexts]="resultLandingInfo.contexts" [viewAll]="viewAll=='relatedTo'"
(viewAllClicked)="viewAll=$event" (noCommunities)="noCommunities = true"></relatedTo>
</div>
<!-- <hr *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0"-->
<!-- Download From -->
<div *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0 && (!viewAll || viewAll=='availableOn')">
<!-- <div class="uk-inline">-->
<!-- <button class="uk-button uk-button-default" type="button">Click</button>-->
<!-- <div uk-dropdown="mode: click">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</div>-->
<!-- </div>-->
<!-- <div class="uk-button uk-button-default button-drop uk-width-1-1">Select a source...</div>-->
<availableOn [availableOn]="resultLandingInfo.hostedBy_collectedFrom" (viewAllClicked)="viewAll=$event"></availableOn>
</div>
<!-- style="border: 1px solid red">-->
<!-- <div *ngFor="let item of fakeArray.slice(0, 50); let i=index">test3.{{i}}</div>-->
</div>
</ng-template>
</ng-container>
@ -434,13 +403,6 @@
<!-- Other versions -->
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
#AlertModalDeletedByInference large="true">
<!-- <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"-->
<!-- [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"-->
<!-- titleClass="title-grey-background"-->
<!-- [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"-->
<!-- [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate"-->
<!-- [isTitleH1]="false">-->
<!-- </landing-header>-->
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
[ids]="resultLandingInfo.deletedByInferenceIds"
@ -493,16 +455,6 @@
*ngIf="researchResults && researchResults.length > 0"
class="uk-margin-bottom">
<h6 *ngIf="header">{{header}}</h6>
<!-- <mat-form-field *ngIf="relatedClassFilters?.size > 1" class="matSelectionFormField">-->
<!-- <mat-label>Filter by relation:</mat-label>-->
<!-- <mat-select [(ngModel)]="relatedClassSelected" (ngModelChange)="relatedClassChanged()"-->
<!-- [disableOptionCentering]="true"-->
<!-- panelClass="matSelectionPanel"-->
<!-- class="uk-text-bold matSelection">-->
<!-- <mat-option [value]="">All relations</mat-option>-->
<!-- <mat-option *ngFor="let relatedClass of relatedClassFilters" [value]="relatedClass">{{relatedClass}}</mat-option>-->
<!-- </mat-select>-->
<!-- </mat-form-field>-->
<div *ngIf="relatedClassFilters?.length > 1" class="uk-margin-medium-bottom"
input type="select" placeholder="Filter by relation" inputClass="flat x-small"
[options]="relatedClassFilters" [(value)]="relatedClassSelected"