{% extends "aa_kanban/base.html" %} {% load i18n %} {% load static %} {% block page_title %}{{ board.name }} - {% trans "Kanban" %}{% endblock %} {% block extra_css %} {% endblock %} {% block aa_kanban_content %}

{{ board.name }}

{% if board.description %} {{ board.description }} {% endif %}
{% if can_write %} {% trans "Editor" %} {% else %} {% trans "Read-Only" %} {% endif %} {% if can_write or can_manage %} {% endif %}
{% csrf_token %}
{% for list in lists %}
{% if can_write %}
{{ list.name }}
{{ list.cards.all|length }}
{% else %}
{{ list.name }}
{{ list.cards.all|length }} {% endif %}
{% for card in list.cards.all %} {% include "aa_kanban/partials/card_item.html" with card=card can_write=can_write %} {% empty %}
{% trans "No cards" %}
{% endfor %}
{% if can_write %} {% endif %}
{% empty %} {% if not can_write %}

{% trans "No lists defined for this board." %}

{% endif %} {% endfor %} {# Inline "Kolom toevoegen" — alleen voor write-users, verschijnt na bestaande kolommen #} {% if can_write %}
{% csrf_token %}
{% endif %}
{# Modal container voor board-instellingen/edit #} {# Modal container voor labels #} {% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}