<div class="series-season" id="season-{{seasonNumber}}">
    <h2>
        <i class="x-season-monitored season-monitored clickable" title="Toggle season monitored status"/>

        {{#if seasonNumber}}
        Season {{seasonNumber}}
        {{else}}
        Specials
        {{/if}}

        {{#if_eq episodeCount compare=0}}
            {{#if monitored}}
                <i class="icon-nd-status season-status status-primary" title="No aired episodes"/>
            {{else}}
                <i class="icon-nd-status season-status status-warning" title="Season is not monitored"/>
            {{/if}}
        {{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="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 class="x-episode-grid table-responsive"></div>
</div>
