All files / src/app/shell/application/cookies-banner cookies-banner.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 402x                                                                              
<div
  *ngIf="showBanner"
  [@bottomOut]="transitionBanner"
  (@bottomOut.done)="setCookiesConsent($event)"
  class="cookies-banner"
>
  <div class="d-lg-flex justify-content-between align-items-center">
    <div [ishServerHtml]="'cookies.banner.text' | translate" class="cookies-banner-text"></div>
 
    <div class="d-md-flex flex-nowrap justify-content-end">
      <button
        type="button"
        class="btn btn-light text-nowrap mr-lg-0 order-md-2"
        [title]="'cookies.banner.accept_all.tooltip' | translate"
        (click)="acceptAll()"
        data-testing-id="acceptAllButton"
      >
        {{ 'cookies.banner.accept_all' | translate }}
      </button>
      <button
        type="button"
        class="btn btn-outline-light text-nowrap order-md-1"
        [title]="'cookies.banner.accept_only_required.tooltip' | translate"
        (click)="acceptOnlyRequired()"
      >
        {{ 'cookies.banner.accept_only_required' | translate }}
      </button>
 
      <button
        type="button"
        class="btn btn-link order-md-0 text-nowrap ml-lg-2"
        routerLink="/cookies"
        [title]="'cookies.banner.set_preferences.tooltip' | translate"
      >
        {{ 'cookies.banner.set_preferences' | translate }}
      </button>
    </div>
  </div>
</div>