Use season info on the banner on an episode page
This commit is contained in:
parent
fa594518c3
commit
48a037439e
@ -136,6 +136,9 @@ section.show-details {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 200%;
|
font-size: 200%;
|
||||||
}
|
}
|
||||||
|
.show-details .details.season h3 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
.show-details .details .description {
|
.show-details .details .description {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
@ -20,12 +20,21 @@
|
|||||||
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
||||||
<div class="banner-cover">
|
<div class="banner-cover">
|
||||||
<div class="artwork">
|
<div class="artwork">
|
||||||
<img src="/media/uploaded_resources/{{show.artwork}}">
|
{% if episode.season.artwork %}
|
||||||
|
<img src="/media/uploaded_resources/{{episode.season.artwork}}">
|
||||||
|
{% else %}
|
||||||
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="details">
|
<div class="details season">
|
||||||
<h1>{{show.name}}</h1>
|
<h1>{{show.name}}</h1>
|
||||||
|
{% if episode.season.name %}
|
||||||
|
<h3>{{ episode.season.name }}</h3>
|
||||||
|
{% else %}
|
||||||
|
<h3>Season {{ episode.season.number }}</h3>
|
||||||
|
{% endif %}
|
||||||
<p class="description">
|
<p class="description">
|
||||||
{{show.description}}
|
{{ episode.season.description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,12 +7,21 @@
|
|||||||
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
||||||
<div class="banner-cover">
|
<div class="banner-cover">
|
||||||
<div class="artwork">
|
<div class="artwork">
|
||||||
<img src="/media/uploaded_resources/{{show.artwork}}">
|
{% if episode.season.artwork %}
|
||||||
|
<img src="/media/uploaded_resources/{{episode.season.artwork}}">
|
||||||
|
{% else %}
|
||||||
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="details">
|
<div class="details season">
|
||||||
<h1>{{show.name}}</h1>
|
<h1>{{show.name}}</h1>
|
||||||
|
{% if episode.season.name %}
|
||||||
|
<h3>{{ episode.season.name }}</h3>
|
||||||
|
{% else %}
|
||||||
|
<h3>Season {{ episode.season.number }}</h3>
|
||||||
|
{% endif %}
|
||||||
<p class="description">
|
<p class="description">
|
||||||
{{show.description}}
|
{{ episode.season.description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,12 +7,21 @@
|
|||||||
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
||||||
<div class="banner-cover">
|
<div class="banner-cover">
|
||||||
<div class="artwork">
|
<div class="artwork">
|
||||||
<img src="/media/uploaded_resources/{{show.artwork}}">
|
{% if episode.season.artwork %}
|
||||||
|
<img src="/media/uploaded_resources/{{episode.season.artwork}}">
|
||||||
|
{% else %}
|
||||||
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="details">
|
<div class="details season">
|
||||||
<h1>{{show.name}}</h1>
|
<h1>{{show.name}}</h1>
|
||||||
|
{% if episode.season.name %}
|
||||||
|
<h3>{{ episode.season.name }}</h3>
|
||||||
|
{% else %}
|
||||||
|
<h3>Season {{ episode.season.number }}</h3>
|
||||||
|
{% endif %}
|
||||||
<p class="description">
|
<p class="description">
|
||||||
{{show.description}}
|
{{ episode.season.description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user