Skip to content

Commit

Permalink
Merge pull request #970 from timograw/new-releases-image-fixes
Browse files Browse the repository at this point in the history
Changed new releases poster
  • Loading branch information
dularion committed May 11, 2020
2 parents 75472de + 2d2b185 commit 7128b40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grails-app/assets/javascripts/streama/templates/dash.tpl.htm
Expand Up @@ -12,8 +12,7 @@ <h3>{{'DASHBOARD.NEW_RELEASES' | translate}}</h3>
<div ng-if="newRelease.media.poster_image_src">
<img class="poster-image" ng-src="{{newRelease.media.poster_image_src}}" class="pull-left">
</div>
<div class="image-background" style="background-image: url('https://image.tmdb.org/t/p/w1280/{{newRelease.media.backdrop_path}}')">

<div class="image-background" style="background: url('https://image.tmdb.org/t/p/original{{newRelease.media.backdrop_path}}') no-repeat center; background-size: cover;">
<div>
<i ng-class="newRelease.media.inWatchlist ? 'remove-icon ion-android-remove-circle' : 'add-icon ion-android-add-circle'"
ng-click="vm.handleWatchlistUpdate(newRelease.media.inWatchlist ? 'removed' : 'added', newRelease.media)"></i>
Expand Down

0 comments on commit 7128b40

Please sign in to comment.