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:

bottom.component.html
6 6
        <div>
7 7
          <img style="margin-right: 8px; float: left;"
8 8
               [src]="assetsPath + 'common/commission.jpg'"
9
               alt="flag black white low" width="50" height="33">
9
               alt="flag black white low" width="50" height="33" loading="lazy">
10 10
        </div>
11 11
        <helper *ngIf="divContents && divContents['footer']?.length > 0"
12 12
                [texts]="divContents['footer']"></helper>
......
25 25
    <div *ngIf="showOpenaire" class="uk-text-right uk-width-1-2">
26 26
      <img [src]="assetsPath + 'common/Logo_Horizontal_'+(darkBackground?'white':'dark')+'_small.png'"
27 27
           data-width="126"
28
           data-height="30" class="el-image" alt="OpenAIRE">
28
           data-height="30" class="el-image" alt="OpenAIRE" loading="lazy">
29 29
    </div>
30 30
  </div>
31 31
</ng-container>
......
42 42
                 [class]="(centered?'uk-width-1-1 uk-width-1-4@m uk-text-center':'')">
43 43
              <img [src]="assetsPath + 'common/Logo_Horizontal_'+(darkBackground?'white':'dark')+'_small.png'"
44 44
                   data-width="126"
45
                   data-height="30" class="el-image" alt="OpenAIRE">
45
                   data-height="30" class="el-image" alt="OpenAIRE" loading="lazy">
46 46
            </div>
47 47
            <div *ngIf="showCommision" id="footer#5"
48 48
                 [class]="'uk-text-left '+(centered?' uk-margin uk-width-expand':' uk-margin-left')">
......
61 61
                <div>
62 62
                  <img style="margin-right: 8px; float: left;"
63 63
                       [src]="assetsPath + 'common/commission.jpg'"
64
                       alt="flag black white low" width="50" height="33">
64
                       alt="flag black white low" width="50" height="33" loading="lazy">
65 65
                </div>
66 66
                <div class="uk-margin-left">
67 67
                  <helper *ngIf="divContents && divContents['footer']?.length > 0"

Also available in: Unified diff