diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html b/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html new file mode 100644 index 000000000..57f682899 --- /dev/null +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html | |||
@@ -0,0 +1,19 @@ | |||
1 | <div class="video-info-description"> | ||
2 | <div | ||
3 | class="video-info-description-html" | ||
4 | [innerHTML]="videoHTMLDescription" | ||
5 | (timestampClicked)="onTimestampClicked($event)" | ||
6 | timestampRouteTransformer | ||
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> | ||