{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% load hospital_filters %} {% block title %}{{ project.name }} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "Back to Projects" %}

{{ project.name }}

{% if project.description %}

{{ project.description|linebreaksbr }}

{% endif %}
{% if can_edit %} {% trans "Edit" %} {% endif %} {% if user.is_px_admin or user.is_hospital_admin %} {% trans "Export Excel" %} {% trans "Save as Template" %} {% trans "Delete" %} {% endif %}

{% trans "PDCA Cycle" %}

{% trans "Plan - Do - Check - Act" %}
{% for phase_key, phase_label in pdca_phase_choices %} {% with phase_obj=pdca_phases|key:phase_key tasks=pdca_tasks|key:phase_key %}
{% if phase_key == 'plan' %} {% elif phase_key == 'do' %} {% elif phase_key == 'check' %} {% elif phase_key == 'act' %} {% endif %}

{{ phase_label }}

{% if phase_obj and phase_obj.owner %}

{{ phase_obj.owner.get_full_name }}

{% endif %}
{% if phase_obj %} {{ phase_obj.get_status_display }} {{ tasks.count }} {% trans "tasks" %} {% if can_edit %} {% endif %} {% else %} {% trans "Not set up" %} {% endif %}
{% if tasks %}
{% if can_edit %} {% endif %} {% for task in tasks %} {% include "projects/partials/task_row.html" with task=task project=project can_edit=can_edit today=today %} {% endfor %}
{% trans "Task" %} {% trans "Assigned To" %} {% trans "Due Date" %} {% trans "Status" %}{% trans "Actions" %}
{% else %}
{% trans "No tasks in this phase" %}
{% endif %} {% if can_edit %}
{% endif %}
{% endwith %} {% endfor %}
{% if project.focus_enabled %}

{% trans "FOCUS Methodology" %}

{% trans "Find, Organize, Clarify, Understand, Select" %}
{% for phase_key, phase_label in focus_phase_choices %} {% with phase_obj=focus_phases|key:phase_key tasks=focus_tasks|key:phase_key %}
{% if phase_key == 'find' %} {% elif phase_key == 'organize' %} {% elif phase_key == 'clarify' %} {% elif phase_key == 'understand' %} {% elif phase_key == 'select' %} {% endif %}

{{ phase_label }}

{% if phase_obj and phase_obj.owner %}

{{ phase_obj.owner.get_full_name }}

{% endif %}
{% if phase_obj %} {{ phase_obj.get_status_display }} {{ tasks.count }} {% trans "tasks" %} {% if can_edit %} {% endif %} {% else %} {% trans "Not set up" %} {% endif %}
{% if tasks %}
{% if can_edit %} {% endif %} {% for task in tasks %} {% include "projects/partials/task_row.html" with task=task project=project can_edit=can_edit today=today %} {% endfor %}
{% trans "Task" %} {% trans "Assigned To" %} {% trans "Due Date" %} {% trans "Status" %}{% trans "Actions" %}
{% else %}
{% trans "No tasks in this phase" %}
{% endif %} {% if can_edit %}
{% endif %}
{% endwith %} {% endfor %}
{% endif %} {% if project.outcome_description %}

{% trans "Outcomes" %}

{{ project.outcome_description|linebreaksbr }}

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}