{% extends "base.html" %}
{% load i18n %}
{% load pagination_tags %}

{% block page-title %}{% trans "Starred bookings" %}{% endblock %}

{% block sub-navigation %}
  <ul>
    <li><a href="/dashboard/starred" style="font-weight: bold;">{% trans "Starred bookings" %}</a> |</li>
    <li><a href="/dashboard/news">{% trans "News" %}</a> |</li>
  </ul>
{% endblock %}

{% block content %}
  {% autopaginate bookings 20 %}
  <div id="bookings" class="default-list">
    <div class="pagination">
    </div>
    <table id="booking-list" class="default-table">
      <thead>
        {% include "starred_booking_heading.html" %}
      </thead>
      <tbody>
        {% for booking in bookings %}
          {% include "starred_booking_row.html" %}
        {% empty %}
          <tr><td colspan="11">{% trans "No entries found" %}</td></tr>
        {% endfor %}
      </tbody>
    </table>
    <div class="pagination">
      {% paginate %}
    </div>
  </div>
{% endblock %}
