Cliente
{{ project.client.name }}
Status
{% if project.status == 'em_andamento' %}Em Andamento
{% elif project.status == 'aguardando' %}Aguardando
{% elif project.status == 'concluido' %}Concluído
{% elif project.status == 'cancelado' %}Cancelado
{% elif project.status == 'pausado' %}Pausado
{% endif %}
Prioridade
{% if project.priority == 'urgente' %}Urgente
{% elif project.priority == 'alta' %}Alta
{% elif project.priority == 'normal' %}Normal
{% else %}Baixa
{% endif %}
Prazo
{{ project.deadline.strftime('%d/%m/%Y') if project.deadline else '—' }}
Responsável
{{ project.responsible.name if project.responsible else '—' }}
Tipo
{{ project.service_type or '—' }}
{% if project.objective or project.context or project.execution_rules %}
{% if project.objective %}
{% endif %}
{% if project.context %}
{% endif %}
{% if project.execution_rules %}
{% endif %}
{% if project.internal_notes and current_user.is_admin() %}
{% endif %}
{% endif %}
{% if files %}
Contexto do Projeto
Objetivo
{{ project.objective }}
Contexto
{{ project.context }}
Regras de Execução
{{ project.execution_rules }}
⚠ Observações Internas (Admin)
{{ project.internal_notes }}
Arquivos ({{ files|length }})
{% for f in files %}
{% else %}
{{ f.file_type }}
{{ (f.size_bytes / 1024)|round(0)|int }}KB
↓
{% if current_user.is_admin() %}
{% endif %}
{% endfor %}
Nenhum arquivo anexado.
{% endif %}
Tarefas
{{ tasks_open|length }} pendente{{ 's' if tasks_open|length != 1 }} · {{ tasks_done|length }} concluída{{ 's' if tasks_done|length != 1 }}
Pendentes
{% for task in tasks_open %}
{{ task.title }}
{% endfor %}
Concluídas
{% for task in tasks_done %}
{{ task.title }}
{% endfor %}
Nenhuma tarefa ainda.
{% endif %}