aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-28 15:40:53 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-28 17:13:51 +0100
commit80958c78fdc733c02077a9d2200be0c3f5ee623e (patch)
treea5f024c8127f98e9f08c3db369a9d219cf8c30c7 /client/src/app/videos/+video-watch/video-watch.component.html
parent83c663ef0e94242762ed5f6d2875fc55f4a5603e (diff)
downloadPeerTube-80958c78fdc733c02077a9d2200be0c3f5ee623e.tar.gz
PeerTube-80958c78fdc733c02077a9d2200be0c3f5ee623e.tar.zst
PeerTube-80958c78fdc733c02077a9d2200be0c3f5ee623e.zip
Add loader when expanding long video description
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.html')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index fd3ce2b84..f528d73c3 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -130,14 +130,15 @@
130 130
131 <div class="video-details-description" [innerHTML]="videoHTMLDescription"></div> 131 <div class="video-details-description" [innerHTML]="videoHTMLDescription"></div>
132 132
133 <div *ngIf="completeDescriptionShown === false && video.description.length === 250" (click)="showMoreDescription()" class="video-details-description-more"> 133 <div class="video-details-description-more" *ngIf="completeDescriptionShown === false && video.description.length === 250" (click)="showMoreDescription()">
134 Show more 134 Show more
135 <span class="glyphicon glyphicon-menu-down"></span> 135 <span *ngIf="descriptionLoading === false" class="glyphicon glyphicon-menu-down"></span>
136 <my-loader class="description-loading" [loading]="descriptionLoading"></my-loader>
136 </div> 137 </div>
137 138
138 <div *ngIf="completeDescriptionShown === true" (click)="showLessDescription()" class="video-details-description-more"> 139 <div *ngIf="completeDescriptionShown === true" (click)="showLessDescription()" class="video-details-description-more">
139 Show less 140 Show less
140 <span class="glyphicon glyphicon-menu-up"></span> 141 <span *ngIf="descriptionLoading === false" class="glyphicon glyphicon-menu-up"></span>
141 </div> 142 </div>
142 </div> 143 </div>
143 144