Chocobozzz/PeerTube

View on GitHub
client/src/app/+admin/shared/user-real-quota-info.component.html

Summary

Maintainability
Test Coverage
<div *ngIf="getQuotaAsNumber() > 0">

  <ng-container i18n>
    The video quota only takes into account the size of <strong>uploaded</strong> videos, not transcoded files or user export archives (which may contain video files).
  </ng-container>

  <br />

  <ng-container i18n *ngIf="isTranscodingInformationDisplayed()">
    Transcoding is enabled so videos size can be at most ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}.
  </ng-container>
</div>