{% load i18n %}
<tr>
    <td class="first">
      <span class="sprite closedtriangle" style="visibility: hidden;"></span>
    </td>
    <td>{% include "booking_star.html" %}
    <input id="booking_id" type="checkbox" onclick="JS_toggleRowColour(this, 'booking-list');" title="" value="{{ booking.id }}" name="booking_ids"/>
    </td>
    <td style="text-align: center;">{% if booking.from_time %}{{ booking.from_time }}{% endif %}</td>
    <td style="text-align: center;">{% if booking.to_time %}{{ booking.to_time }}{% endif %}</td>
    <td style="text-align: center;">{{ booking.duration|format_minutes_to_time }}</td>
    <td>
      {{ booking.project|truncatewords:5 }} {% if booking.project.is_closed %}({% trans 'closed' %}){% endif %}
    </td>
    <td>{{ booking.step }}</td>
    <td>
       {{ booking.id|show_booking_link }}
    </td>
    <td>{{ booking.updated|timesince }}</td>
    <td><a href="/time/history/{{ booking.id }}" title="{% trans "show history" %}"><span class="sprite history"></span></a></td>
</tr>
