[develop | DONE | CHANGED]: searchAll.component.html: Changed pipe from "| number" to " | numberRound" to round number of results in slider tabs | searchAll.module.ts: Imported NumberRoundModule.
This commit is contained in:
parent
f63e7d72cc
commit
b12877df2a
|
@ -36,8 +36,8 @@
|
||||||
<ng-template #result>
|
<ng-template #result>
|
||||||
<span class="uk-text-uppercase">
|
<span class="uk-text-uppercase">
|
||||||
{{resultsName}}
|
{{resultsName}}
|
||||||
<span *ngIf=" fetchPublications.searchUtils.totalResults!=null" class="uk-visible@m">
|
<span *ngIf=" fetchPublications.searchUtils.totalResults!=null" class="uk-visible@m"
|
||||||
({{fetchPublications.searchUtils.totalResults | number}})</span>
|
[innerHTML]="'('+(fetchPublications.searchUtils.totalResults | numberRound)+')'"></span>
|
||||||
</span>
|
</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</slider-tab>
|
</slider-tab>
|
||||||
|
@ -45,8 +45,8 @@
|
||||||
<ng-template #projects>
|
<ng-template #projects>
|
||||||
<span class="uk-text-uppercase">
|
<span class="uk-text-uppercase">
|
||||||
{{projectName}}
|
{{projectName}}
|
||||||
<span *ngIf="fetchProjects.searchUtils.totalResults!=null" class="uk-visible@m">
|
<span *ngIf="fetchProjects.searchUtils.totalResults!=null" class="uk-visible@m"
|
||||||
({{fetchProjects.searchUtils.totalResults | number}})</span>
|
[innerHTML]="'('+(fetchProjects.searchUtils.totalResults | numberRound)+')'"></span>
|
||||||
</span>
|
</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</slider-tab>
|
</slider-tab>
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
<ng-template #datasources>
|
<ng-template #datasources>
|
||||||
<span class="uk-text-uppercase">
|
<span class="uk-text-uppercase">
|
||||||
{{dataSourcesName}}
|
{{dataSourcesName}}
|
||||||
<span *ngIf="fetchDataproviders.searchUtils.totalResults!=null" class="uk-visible@m">
|
<span *ngIf="fetchDataproviders.searchUtils.totalResults!=null" class="uk-visible@m"
|
||||||
({{fetchDataproviders.searchUtils.totalResults | number}})</span>
|
[innerHTML]="'('+(fetchDataproviders.searchUtils.totalResults | numberRound)+')'"></span>
|
||||||
</span>
|
</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</slider-tab>
|
</slider-tab>
|
||||||
|
@ -63,8 +63,8 @@
|
||||||
<ng-template #services>
|
<ng-template #services>
|
||||||
<span class="uk-text-uppercase">
|
<span class="uk-text-uppercase">
|
||||||
{{servicesName}}
|
{{servicesName}}
|
||||||
<span *ngIf="fetchServices.searchUtils.totalResults!=null" class="uk-visible@m">
|
<span *ngIf="fetchServices.searchUtils.totalResults!=null" class="uk-visible@m"
|
||||||
({{fetchServices.searchUtils.totalResults | number}})</span>
|
[innerHTML]="'('+(fetchServices.searchUtils.totalResults | numberRound)+')'"></span>
|
||||||
</span>
|
</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</slider-tab>
|
</slider-tab>
|
||||||
|
@ -72,8 +72,8 @@
|
||||||
<ng-template #organizations>
|
<ng-template #organizations>
|
||||||
<span class="uk-text-uppercase">
|
<span class="uk-text-uppercase">
|
||||||
{{organizationsName}}
|
{{organizationsName}}
|
||||||
<span *ngIf="fetchOrganizations.searchUtils.totalResults!=null" class="uk-visible@m">
|
<span *ngIf="fetchOrganizations.searchUtils.totalResults!=null" class="uk-visible@m"
|
||||||
({{fetchOrganizations.searchUtils.totalResults | number}})</span>
|
[innerHTML]="'('+(fetchOrganizations.searchUtils.totalResults | numberRound)+')'"></span>
|
||||||
</span>
|
</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</slider-tab>
|
</slider-tab>
|
||||||
|
|
|
@ -23,13 +23,14 @@ import {SearchDataProvidersModule} from "../searchDataProviders.module";
|
||||||
import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard";
|
import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard";
|
||||||
import {BreadcrumbsModule} from "../../utils/breadcrumbs/breadcrumbs.module";
|
import {BreadcrumbsModule} from "../../utils/breadcrumbs/breadcrumbs.module";
|
||||||
import {SliderTabsModule} from "../../sharedComponents/tabs/slider-tabs.module";
|
import {SliderTabsModule} from "../../sharedComponents/tabs/slider-tabs.module";
|
||||||
|
import {NumberRoundModule} from "../../utils/pipes/number-round.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, FormsModule, RouterModule,
|
CommonModule, FormsModule, RouterModule,
|
||||||
DataProvidersServiceModule, ProjectsServiceModule,
|
DataProvidersServiceModule, ProjectsServiceModule,
|
||||||
SearchResearchResultsServiceModule, OrganizationsServiceModule,
|
SearchResearchResultsServiceModule, OrganizationsServiceModule,
|
||||||
SearchResultsModule, PiwikServiceModule, Schema2jsonldModule, SEOServiceModule, AdvancedSearchFormModule, SearchResearchResultsModule, SearchProjectsModule, SearchOrganizationsModule, SearchDataProvidersModule, BreadcrumbsModule, SliderTabsModule
|
SearchResultsModule, PiwikServiceModule, Schema2jsonldModule, SEOServiceModule, AdvancedSearchFormModule, SearchResearchResultsModule, SearchProjectsModule, SearchOrganizationsModule, SearchDataProvidersModule, BreadcrumbsModule, SliderTabsModule, NumberRoundModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
SearchAllComponent
|
SearchAllComponent
|
||||||
|
|
Loading…
Reference in New Issue