Series title will be shown as alt text when series doesn't have poster (poster view)

Fixed: Series without posters will use text instead of image on poster view
pull/33/merge
Mark McDowall 11 years ago
parent 0d7097a682
commit 224100b46e

@ -11,7 +11,7 @@
<div class="ended-banner">Ended</div> <div class="ended-banner">Ended</div>
{{/unless_eq}} {{/unless_eq}}
<a href="{{route}}"> <a href="{{route}}">
<img class="series-poster" src="{{poster}}" {{defaultImg}}> <img class="series-poster" src="{{poster}}" alt="{{title}}">
</a> </a>
</div> </div>
</div> </div>

@ -160,6 +160,10 @@
.series-poster { .series-poster {
width : 168px; width : 168px;
height : 247px;
display : block;
font-size : 34px;
line-height : 34px;
} }
} }
} }
@ -275,7 +279,6 @@
vertical-align : middle !important; vertical-align : middle !important;
} }
.seasonpass-series { .seasonpass-series {
.season-pass-button { .season-pass-button {
display : inline-block; display : inline-block;

Loading…
Cancel
Save