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