sonarr-repo-only/UI/Series/Details/SeasonLayoutTemplate.html

43 lines
1.5 KiB
HTML

<div class="series-season" id="season-{{seasonNumber}}">
<h2>
<i class="x-season-monitored clickable" title="Toggle season monitored status"/>
{{#if seasonNumber}}
Season {{seasonNumber}}
{{else}}
Specials
{{/if}}
{{#if_eq episodeCount compare=0}}
<i class="icon-nd-status season-status status-primary" title="No aired episodes"/>
{{else}}
{{#if_eq percentOfEpisodes compare=100}}
<i class="icon-nd-status season-status status-success" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{else}}
<i class="icon-nd-status season-status status-danger" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{/if_eq}}
{{/if_eq}}
<span class="season-actions pull-right">
<div class="x-season-rename">
<i class="icon-nd-rename" title="Rename all episodes in season {{seasonNumber}}"/>
</div>
<div class="x-season-search">
<i class="icon-search" title="Search for all episodes in season {{seasonNumber}}"/>
</div>
</span>
</h2>
<div class="x-episode-grid"></div>
<div class="show-hide-episodes x-show-hide-episodes">
<h4>
{{#if showingEpisodes}}
<i class="icon-chevron-sign-up"/>
Hide Episodes
{{else}}
<i class="icon-chevron-sign-down"/>
Show Episodes
{{/if}}
</h4>
</div>
</div>