Project

General

Profile

« Previous | Next » 

Revision 61306

[Trunk | Library]:
dataProvider.component.html & availableOn.component.ts & metrics.component.ts & showPublisher.component.ts & organization.component.html & project.component.html & resultLanding.component.html &
how.component.ts & myOrcidLinks.component.ts & orcid-work.component.ts & newSearchPage.component.html & portal-search-result.component.html & result-preview.component.html &
bottom.component.html & feedback.component.ts & showAuthors.component.ts & gif-slider.component.ts:
Added loading="lazy" on <img> elements.

View differences:

resultLanding.component.html
107 107
              <li *ngIf="properties.b2noteAPIURL">
108 108
                <a *ngIf="isLoggedIn && pid" class="uk-link-text uk-text-bold uk-text-uppercase" (click)="annotation.toggleAnnotation($event)">
109 109
                  <span class="uk-icon-button uk-button-primary uk-icon">
110
                    <img src="assets/common-assets/b2note.png">
110
                    <img src="assets/common-assets/b2note.png" loading="lazy">
111 111
                  </span>
112 112
                  <span class="uk-margin-small-left">add annotation</span>
113 113
                </a>
......
115 115
                      [attr.uk-tooltip]="!pid?'Annotations are available only for resources with a PID (persistent identifier) like DOI, handle, PMID':
116 116
                'Annotations are available only for logged in users'">
117 117
                  <span class="uk-icon-button uk-button-primary uk-icon uk-disabled">
118
                    <img src="assets/common-assets/b2note.png">
118
                    <img src="assets/common-assets/b2note.png" loading="lazy">
119 119
                  </span>
120 120
                  <span class="uk-margin-small-left">add annotation</span>
121 121
                </span>
......
423 423
              <ng-template #enermaps_tab>
424 424
                <div class="uk-padding">
425 425
                  <div   class=" uk-inline uk-width-expand  uk-text-center ">
426
                    <img  class="uk-width-auto" [src]="properties.enermapsURL +'/images/' + enermapsId + '.png'" alt="Enermaps tool preview">
426
                    <img  class="uk-width-auto" [src]="properties.enermapsURL +'/images/' + enermapsId + '.png'"
427
                          alt="Enermaps tool preview" loading="lazy">
427 428
                    <div class="uk-overlay uk-overlay-default uk-position-bottom">
428 429
                      <p>Visit <a
429 430
                        class=" uk-margin-right uk-margin-small-top"
......
523 524
            <div class="uk-margin-small-top uk-flex">
524 525
              <!-- Last Index Info-->
525 526
              <div class="uk-width-2-3@m uk-width-1-2">
526
                <img src="assets/common-assets/graph.svg" style="opacity: 0.4">
527
                <img src="assets/common-assets/graph.svg" style="opacity: 0.4" loading="lazy">
527 528
                <span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by <a href="https://graph.openaire.eu" class="graph-color">OpenAIRE Research Graph</a></span>
528 529
                <span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-muted">
529 530
                . Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}

Also available in: Unified diff