All files / src/app/ceph/block/rbd-snapshot-list rbd-snapshot-list.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 286x                                                      
<cd-table [data]="data"
          columnMode="flex"
          selectionType="single"
          (updateSelection)="updateSelection($event)"
          [columns]="columns">
  <cd-table-actions class="table-actions"
                    [permission]="permission"
                    [selection]="selection"
                    [tableActions]="tableActions">
  </cd-table-actions>
</cd-table>
 
<ng-template #protectTpl
             let-value="value">
  <span *ngIf="value"
        class="label label-success"
        i18n>PROTECTED</span>
  <span *ngIf="!value"
        class="label label-info"
        i18n>UNPROTECTED</span>
</ng-template>
 
<ng-template #rollbackTpl
             let-value>
  <ng-container i18n>You are about to rollback</ng-container>
  <strong>{{ value.snapName }}</strong>.
</ng-template>