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/6/head
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>

@ -159,7 +159,11 @@
} }
.series-poster { .series-poster {
width : 168px; width : 168px;
height : 247px;
display : block;
font-size : 34px;
line-height : 34px;
} }
} }
} }
@ -260,9 +264,9 @@
.expander { .expander {
.clickable; .clickable;
line-height: 30px; line-height : 30px;
margin-left: 8px; margin-left : 8px;
width: 16px; width : 16px;
} }
.season-grid { .season-grid {
@ -275,15 +279,14 @@
vertical-align : middle !important; vertical-align : middle !important;
} }
.seasonpass-series { .seasonpass-series {
.season-pass-button { .season-pass-button {
display: inline-block; display : inline-block;
width: 120px; width : 120px;
} }
.series-monitor-toggle { .series-monitor-toggle {
font-size: 24px; font-size : 24px;
margin-top: 3px; margin-top : 3px;
} }
} }
Loading…
Cancel
Save