Project

General

Profile

« Previous | Next » 

Revision 60939

[Trunk | Library]: resultLanding.component.html & result-preview.component.html: [Bug fix] Remove check "&& properties.environment != 'production')" when "properties.adminToolsPortalType == 'community'".

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/result/resultLanding.component.html
99 99
                </a>
100 100
              </li>
101 101
              <!-- ORCID -->
102
              <li *ngIf="properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType ==
103
              'community' && properties.environment != 'production')">
102
              <li *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community'">
104 103
                <orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
105 104
                            [pids]="pidsArrayString" [pageType]="'landing'">
106 105
                </orcid-work>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/result-preview/result-preview.component.html
296 296
  </div>
297 297
  <!--&& loggedIn -->
298 298
  <div *ngIf="(result.pop_inf && result.DOI) ||
299
                ((properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType == 'community' &&
300
                properties.environment != 'production')) &&
299
                ((properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community') &&
301 300
                  ((showOrcid && result.identifiers && result.identifiers.size > 0) || result.orcidCreationDates?.length > 0))"
302
      class="result-preview-bottom">
301
       class="result-preview-bottom">
303 302
    <!-- Impact Factors-->
304 303
    <span class="uk-flex uk-flex-top">
305 304
    <ng-container *ngIf="result.pop_inf && result.DOI">
......
374 373
      </div>
375 374
    </ng-container>
376 375
      <!-- && loggedIn    -->
377
    <span *ngIf="(properties.adminToolsPortalType == 'explore' || (properties.adminToolsPortalType == 'community' &&
378
                properties.environment != 'production')) && showOrcid && result.identifiers &&
379
                result.identifiers.size > 0"
380
        class="uk-width-1-3 uk-width-expand@s">
376
    <span *ngIf="(properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community')
377
                 && showOrcid && result.identifiers && result.identifiers.size > 0"
378
          class="uk-width-1-3 uk-width-expand@s">
381 379
<!--          class="uk-flex uk-flex-middle  uk-flex-right uk-width-expand">-->
382 380
      <orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"
383 381
                  [resultId]="result.relcanId" [resultTitle]="result.title"

Also available in: Unified diff