<h2>Confirmed Season</h2>
<% if $Bookings %>
    <table class="table-show table-show-header hidden-xs">
        <thead>
        <tr>
            <th>Show Name</th>
            <th>Performer Name</th>
            <th>
                Status
                <div class="table-tooltip">
                    <div class="table-tooltip-label">?</div>
                    <div class="table-tooltip-content">
                        <p>If you are happy with the venue offer, please click the tick button below. If there is a reason why this venue offer is unsuitable, please click the cross button and give your reasons why.</p>
                        <p>If your offer is ‘pending’ it means you have accepted an offer but are waiting for your season to be confirmed by the Comedy Festival administration team.</p>
                    </div>
                </div>
            </th>
        </tr>
        </thead>
    </table>
    <% loop $Bookings %>
    <table class="table-show hidden-xs">
        <tr class="table-show-toggler accordion-toggler" data-accordion-toggle="confirmed-accordion-$Pos">
            <td><span class="charcoal">$ShowPage.Title</span></td>
            <td><% loop $ShowPage.Comedians %><% if $Pos > 1 %>, <% end_if %>$Name<% end_loop %></td>
            <td<% if $ShowPage.RegistrationRequestID == 0 %> class="btn-cell"<% end_if %>>
                <% if $ShowPage.RegistrationRequestID == 0 %>
                    <a class="btn btn-yellow btn-md" href="{$Top.Link('registration_form')}?showID={$ShowPage.ID}">Register</a>
                <% else %>
                    Registered
                <% end_if %>
                <div class="icon">
                    $SVG('plus-circle').Size('28','28')
                    <div class="sr-only">Toggle</div>
                </div>
            </td>
        </tr>
    </table>
    <table class="table-show visible-xs">
        <tr class="table-show-toggler accordion-toggler" data-accordion-toggle="confirmed-accordion-m-$Pos">
            <td>
                <span class="charcoal">$ShowPage.Title</span><br/>
                <% loop $ShowPage.Comedians %><% if $Pos > 1 %>, <% end_if %>$Name<% end_loop %><br/>
                <% if $ShowPage.RegistrationRequestID == 0 %><a class="btn btn-yellow btn-md" href="{$Top.Link('registration_form')}?showID={$ShowPage.ID}">Register</a><% else %>Registered<% end_if %>
                <div class="icon">
                    $SVG('plus-circle').Size('28','28')
                    <div class="sr-only">Toggle</div>
                </div>
            </td>
        </tr>
    </table>
    <table class="table-show table-show-content accordion-content hidden-xs" id="confirmed-accordion-$Pos">
        <tr>
            <th>Location</th>
            <th>Venue</th>
            <th>Date</th>
            <th>Time</th>
        </tr>
        <% loop $Sessions %>
            <tr>
                <td><span>$Venue.City.Title</span></td>
                <td>$Venue.Title</td>
                <td>$StartTime.FormatPHP('D d F Y')</td>
                <td>$StartTime.FormatPHP('g:ia')</td>
            </tr>
        <% end_loop %>
    </table>
    <table class="table-show table-show-content accordion-content" id="confirmed-accordion-m-$Pos">
        <% loop $Sessions %>
            <tr>
                <td>
                    <span>$Venue.City.Title</span><br/>
                    $Venue.Title<br/>
                    $StartTime.FormatPHP('D d F Y')<br/>
                    $StartTime.FormatPHP('g:ia')
                </td>
            </tr>
        <% end_loop %>
    </table>
    <% end_loop %>
<% else %>
    <p>You do not have a confirmed season.</p>
<% end_if %>