{% load i18n %}
<tr>
    <td class="first"></td>
    <td>{% include "booking_star.html" %}</td>
    <td>{{ booking.day.date|date:"j.n.Y" }}</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>
      {% if booking.is_closed %}
        {{ booking.get_title|truncatewords:5 }}
      {% else %}
        {{ booking.id|show_booking_link }}
      {% endif %}
    </td>
    <td>{{ booking.updated|timesince }}</td>
</tr>
