]>
Commit | Line | Data |
---|---|---|
1 | <div class="video-info-description"> | |
2 | <div | |
3 | class="video-info-description-html" | |
4 | [innerHTML]="getHTMLDescription()" | |
5 | (timestampClicked)="onTimestampClicked($event)" | |
6 | myTimestampRouteTransformer | |
7 | ></div> | |
8 | ||
9 | <button | |
10 | *ngIf="completeDescriptionShown === false && video.description?.length >= 250" | |
11 | (click)="showMoreDescription()" class="video-info-description-more button-unstyle" | |
12 | > | |
13 | <ng-container i18n>Show more</ng-container> | |
14 | <span *ngIf="descriptionLoading === false" class="chevron-down"></span> | |
15 | <my-loader size="sm" class="description-loading" [loading]="descriptionLoading"></my-loader> | |
16 | </button> | |
17 | ||
18 | <button | |
19 | *ngIf="completeDescriptionShown === true" | |
20 | (click)="showLessDescription()" class="video-info-description-more button-unstyle" | |
21 | > | |
22 | <ng-container i18n>Show less</ng-container> | |
23 | <span *ngIf="descriptionLoading === false" class="chevron-up"></span> | |
24 | </button> | |
25 | </div> |