Skip to content

Commit

Permalink
add 'new-releases' and 'continue-watching' as hidable sections on dash
Browse files Browse the repository at this point in the history
  • Loading branch information
dularion committed May 31, 2018
1 parent aae8854 commit 291a34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/assets/javascripts/streama/templates/dash.tpl.htm
@@ -1,6 +1,6 @@

<div class="dashboard">
<div ng-if="vm.newReleases.length && !vm.selectedGenre">
<div ng-if="vm.newReleases.length && !vm.selectedGenre && !vm.isDashSectionHidden('new-releases')">
<h3>{{'DASHBOARD.NEW_RELEASES' | translate}}</h3>


Expand Down Expand Up @@ -28,7 +28,7 @@ <h4>{{newRelease.description}}</h4>

<h2 class="genre-display" ng-if="$root.selectedGenre">{{'DASHBOARD.LOOKING_AT_GENRE' | translate}} <strong ng-bind="$root.selectedGenre.name"></strong></h2>

<div ng-if="vm.continueWatching.length && !$root.selectedGenre">
<div ng-if="vm.continueWatching.length && !$root.selectedGenre && !vm.isDashSectionHidden('continue-watching')">
<h3>{{'DASHBOARD.CONTINUE_WATCHING' | translate}}</h3>


Expand Down

0 comments on commit 291a34e

Please sign in to comment.