{% extends "layouts/base.html" %} {% load fm_tags %} {% block title %}{{ project.title }}{% endblock %} {% block breadcrumb %}
  • Projets
  • {{ project.code }}
  • {% endblock %} {% block content %} {{ project.code }}{% if project.is_innovation %}Innovation{% endif %} {% if can_manage %}{% for value, label in next_actions %}{% if value != "APPROVED" and value != "REJECTED" or can_validate %}
    {% csrf_token %}
    {% endif %}{% endfor %}{% endif %}

    Avancement

    {{ project.progress|floatformat:0 }} %

    {% if can_manage %}
    {% endif %} {% if milestones %}
      {% for m in milestones %}
    • {% if m.status == "DONE" %}{% else %}{% endif %}{{ m.title }}

      Échéance {{ m.due_date|date:"d/m/Y" }} · poids {{ m.weight }}

      {% if can_manage %}
      {% csrf_token %}
      {% endif %}
    • {% endfor %}
    {% else %}{% endif %}
    Porteur
    {% if project.owner_member %}{{ project.owner_member.full_name }}{% else %}{{ project.owner_user.get_full_name|default:"—" }}{% endif %}
    Encadrant
    {{ project.supervisor.get_full_name|default:"—" }}
    Début
    {{ project.start_date|date:"d/m/Y"|default:"—" }}
    Fin prévue
    {{ project.end_date|date:"d/m/Y"|default:"—" }}
    Agence
    {{ project.agency.name }}
    {% if project.validated_at %}
    Validé
    {{ project.validated_at|date:"d/m/Y" }}
    {% endif %}
    {% if project.description %}

    {{ project.description }}

    {% endif %}
    {% if can_manage %}
    {% csrf_token %}
    {% csrf_token %}{% for f in team_form %}{% endfor %}
    {% csrf_token %}{% for f in deliverable_form %}{% endfor %}
    {% endif %} {% if can_validate %}
    {% csrf_token %}{% for f in evaluation_form %}{% endfor %}
    {% endif %} {% endblock %}