{% extends "base.html" %} {% block title %}Projects — TaskFlow{% endblock %} {% block content %} {% if projects %}
{% for project in projects %} {% endfor %}
Title Owner Tasks Created
{{ project.title }} {{ project.owner.username }} {{ project.tasks | length }} {{ project.created_at.strftime('%d %b %Y') }} {% if user.role in ('admin', 'manager') or project.owner_id == user.id %} Edit {% endif %}
{% else %}
📋
No projects yet.
{% if user.role in ('admin', 'manager') %} Create first project {% endif %}
{% endif %} {% endblock %}