Skip to content

Commit

Permalink
shorten upNext overview text & add fallback for fullTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
dularion committed Nov 3, 2019
1 parent c71c0cd commit d1e13ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ <h3>{{options.videoMetaSubtitle}}</h3>
</div>
<div class="col-xs-8">
<h4>{{'VIDEO.UPNEXT' | translate}}</h4>
<h3>{{options.nextVideo.fullTitle}}</h3>
<p>{{options.nextVideo.overview}}</p>
<h3>{{options.nextVideo.fullTitle || options.nextVideo.title}}</h3>
<p>{{options.nextVideo.overview.length > 150 ? options.nextVideo.overview.substring(0, 150) + '...' : options.nextVideo.overview}}</p>

<button class="play-button with-label" ng-click="next()"> <span class="play-label">play now</span> <i class="ion-ios-play"></i></button>
</div>
Expand Down

0 comments on commit d1e13ce

Please sign in to comment.