{% 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="javascript:inhouse.toggle_row_color(this, 'booking-list');" title="" value="{{ booking.id }}" name="booking_ids"/>
    </td>
    <td style="text-align: center;">{% if booking.from_time %}{{ booking.from_time|time:"H:i" }}{% else %}{% endif %}</td>
    <td style="text-align: center;">{% if booking.to_time %}{{ booking.to_time|time:"H:i" }}{% else %}{% endif %}</td>
    <td style="text-align: center;">{{ booking.duration|format_minutes_to_time }}</td>
    <td>
      <a href="{% url inhouse.views.show_project booking.project.id %}">{{ booking.project|truncatewords:5 }}</a> {% if booking.project.is_closed %}({% trans 'closed' %}){% endif %}
    </td>
    <td>{{ booking.step }}</td>
    <td>
       {{ booking.id|show_booking_link }}
    </td>
    <td class="last"><a href="/time/history/{{ booking.id }}">{{ booking.updated|timesince }}</a></td>
</tr>
