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