Project

General

Profile

« Previous | Next » 

Revision 60892

[Connect | Trunk]

- Update affiliations layout
- Use customization class to create the css
- Create preview/ demo component
- Clean up piwik helper file
- updates on customization css

View differences:

community.component.html
13 13
        </search-tab>
14 14
      </div>
15 15

  
16
      <div
16
      <!--<div
17 17
          *ngIf="statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum[type].total>0
18 18
            &&
19 19
            (  statistics.statisticsDisplay.entities[type].numbers.map['total']['showInDashboard']
......
38 38
                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}">
39 39
          </ng-container>
40 40
        </div>
41
      </div>
41
      </div>-->
42 42
    </div>
43 43
  </ng-template>
44 44

  
......
293 293
                                ? 'uk-margin-small-bottom' : ''">
294 294
                    <span
295 295
                        *ngIf="projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)">
296
                      <span class="uk-text-muted">Projects:</span>
296
                      <span class="uk-text-muted">Projects: </span>
297 297
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
298
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects">
299
                        {{projectTotal|number}}
298
                         routerLinkActive="router-link-active"
299
                         [routerLink]="searchLinkToProjects">{{projectTotal|number}}
300 300
                      </a>
301 301
                    </span>
302 302
                    <span
......
304 304
                        [class]="'uk-display-inline-block '+((projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)) ? 'uk-margin-left' : '')">
305 305
                      <span class="uk-text-muted">Content Providers: </span>
306 306
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
307
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders">
308
                        {{contentProviderTotal|number}}
307
                         routerLinkActive="router-link-active"
308
                         [routerLink]="searchLinkToDataProviders">{{contentProviderTotal|number}}
309 309
                      </a>
310 310
                    </span>
311 311
                    <span *ngIf="projectsCalculated && contentProvidersCalculated &&
......
554 554
                      [tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults" [tabId]="'other'">
555 555
                <ng-container *ngTemplateOutlet="other_tab;"></ng-container>
556 556
              </my-tab>
557
              <my-tab *ngIf="showAnalyticsTab()"
557
<!--              <my-tab *ngIf="showAnalyticsTab()"
558 558
                      [tabTitle]="'Analytics'" customClass="statistics" [tabId]="'analytics'">
559 559
                <ng-container *ngTemplateOutlet="analytics_tab;"></ng-container>
560
              </my-tab>
560
              </my-tab>-->
561 561
              <my-tab *ngIf="properties.environment != 'production' && communityId == 'covid-19'"
562 562
                      [tabTitle]="'Ontology Mapping'"  [tabId]="'mapping'" customClass="portalTab">
563 563
                <ng-container *ngTemplateOutlet="mapping_tab;"></ng-container>
......
592 592
                      [tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults" [tabId]="'other'">
593 593
                <ng-container *ngTemplateOutlet="other_tab;"></ng-container>
594 594
              </my-tab>
595
              <my-tab *ngIf="showAnalyticsTab()"
595
              <!--<my-tab *ngIf="showAnalyticsTab()"
596 596
                      [tabTitle]="'Analytics'" customClass="statistics" [tabId]="'analytics'">
597 597
                <ng-container *ngTemplateOutlet="analytics_tab;"></ng-container>
598
              </my-tab>
598
              </my-tab>-->
599 599
              <my-tab *ngIf="properties.environment != 'production' && communityId == 'covid-19'"
600 600
                      [tabTitle]="'Ontology Mapping'"  [tabId]="'mapping'" customClass="portalTab">
601 601
                <ng-container *ngTemplateOutlet="mapping_tab;"></ng-container>
......
611 611
      </div>
612 612
    </div>
613 613
  </div>
614
  <statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>
614
  <!--<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>-->
615 615
  <div class="uk-section tm-middle uk-container uk-margin-top uk-padding-remove-top" id=""
616 616
       *ngIf="communityId && communityInfo">
617 617
    <ng-container *ngIf=" isRouteEnabled('/organizations')">
618
      <div class="uk-container  uk-margin-bottom uk-grid">
618
      <div class="uk-container  uk-margin-bottom">
619 619
        <div class="uk-width-expand uk-padding-remove">
620 620
          <affiliations [longView]="false" [getAffiliationsFromAPI]="true" [communityFirstPage]="true"></affiliations>
621 621
        </div>

Also available in: Unified diff