Skip to content

Commit

Permalink
add dashboard counts
Browse files Browse the repository at this point in the history
  • Loading branch information
dularion committed Feb 7, 2021
1 parent 1dcc0d3 commit 4ddd9f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grails-app/assets/javascripts/streama/templates/dash.tpl.htm
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ <h3>{{'DASHBOARD.WATCHLIST' | translate}}</h3>
<h3>
<span ng-show="!$root.selectedGenre">{{'DASHBOARD.DISCOVER_SHOWS' | translate}}</span>
<span ng-show="$root.selectedGenre">{{::$root.selectedGenre.name}} TV Shows</span>
<span class="counter">({{vm.tvShow.list.length}} of {{vm.tvShow.total}})</span>
</h3>

<div class="row dash-filter">
Expand Down Expand Up @@ -171,6 +172,7 @@ <h3>
<h3>
<span ng-show="!selectedGenre">{{'DASHBOARD.DISCOVER_MOVIES' | translate}}</span>
<span ng-show="selectedGenre">{{::selectedGenre.name}} Movies</span>
<span class="counter">({{vm.movie.list.length}} of {{vm.movie.total}})</span>
</h3>

<div class="row dash-filter" ng-hide="!vm.movie.filter && !vm.movie.list.length">
Expand Down Expand Up @@ -226,6 +228,7 @@ <h3>
<h3>
<span ng-show="!$root.selectedGenre">{{'DASHBOARD.DISCOVER_OTHER_VIDEOS' | translate}}</span>
<span ng-show="$root.selectedGenre">{{::$root.selectedGenre.name}} Videos</span>
<span class="counter">({{vm.genericVideo.list.length}} of {{vm.genericVideo.total}})</span>
</h3>

<div class="row dash-filter">
Expand Down
5 changes: 5 additions & 0 deletions grails-app/assets/stylesheets/_dash.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
h3{
font-size: 16px;
text-transform: uppercase;

.counter{
text-transform: none;
font-weight: 100;
}
}

.genre-display{
Expand Down

0 comments on commit 4ddd9f2

Please sign in to comment.