{% load i18n dg_board %}
{% for lane in lanes %}
{{ lane.title }} {{ lane.tickets|length }} {% if lane.column and lane.column.group_id in writable %}{% endif %}
{# Cards drag only where they may be moved. #}
{% for ticket in lane.tickets %}{% include 'dg_board/_card.html' %}{% empty %}
{% translate "No tickets" %}
{% endfor %}
{# Below the last card, outside the sortable list so a drag never lands behind it. #} {% if lane.column and lane.column.group_id in writable %}{% endif %}
{% endfor %}
{# Right after the lanes, so a folded lane never shows open first. #}