Project

General

Profile

« Previous | Next » 

Revision 60814

[Library|Trunk]

Tabs:
- use CustomClass directive instead of statistics
- update it in landing pages

Enermaps Integration:
- Result LAnding at a new tab with enermaps tool
- Image on the left of the result preview component

View differences:

project.component.html
585 585
            <ng-template #statistics_tab>
586 586
              <!--              <my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
587 587
              <!--                       || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
588
              <!--                      [tabTitle]="'Statistics'" [statistics]="true" [tabId]="'statistics'">-->
588
              <!--                      [tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'">-->
589 589
              <div class="">
590 590
                <div class="uk-width-expand uk-padding">
591 591
                  <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status,
......
668 668
              <!--              [class]="(firstTab === 'statistics')?'uk-active':''"-->
669 669
              <my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
670 670
                       || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
671
                      [tabTitle]="'Statistics'" [statistics]="true" [tabId]="'statistics'"
671
                      [tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'"
672 672
              >
673 673
                <ng-container *ngTemplateOutlet="statistics_tab;"></ng-container>
674 674
              </my-tab>
......
719 719
              <!--              [class]="(firstTab === 'statistics')?'uk-active':''"-->
720 720
              <my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
721 721
                       || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
722
                      [tabTitle]="'Statistics'" [statistics]="true" [tabId]="'statistics'"
722
                      [tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'"
723 723
              >
724 724
                <ng-container *ngTemplateOutlet="statistics_tab;"></ng-container>
725 725
              </my-tab>

Also available in: Unified diff