{% extends "layouts/base.html" %} {% load i18n %} {% 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 "Save as Template" %} {% trans "Delete" %} {% endif %}

{% trans "Tasks" %}

{% if can_edit %} {% trans "Add Task" %} {% endif %}
{% if tasks %}
{% for task in tasks %}
{% csrf_token %}

{{ task.title }}

{% if task.description %}

{{ task.description }}

{% endif %}
{% if task.assigned_to %} {{ task.assigned_to.get_full_name }} {% endif %} {% if task.due_date %} {% if task.due_date < today and task.status != 'completed' %} {{ task.due_date|date:"M d, Y" }} {% else %} {{ task.due_date|date:"M d, Y" }} {% endif %} {% endif %} {{ task.get_status_display }}
{% if can_edit %} {% endif %}
{% endfor %}
{% else %}

{% trans "No tasks yet" %}

{% if can_edit %} {% trans "Add First Task" %} {% endif %}
{% endif %}
{% if project.outcome_description %}

{% trans "Outcomes" %}

{{ project.outcome_description|linebreaksbr }}

{% endif %}

{% trans "Project Info" %}

{% trans "Status" %}

{{ project.get_status_display }}

{% trans "Hospital" %}

{{ project.hospital.name }}

{% if project.department %}

{% trans "Department" %}

{{ project.department.name }}

{% endif %} {% if project.project_lead %}

{% trans "Project Lead" %}

{{ project.project_lead.get_full_name }}

{% endif %} {% if project.start_date %}

{% trans "Start Date" %}

{{ project.start_date|date:"M d, Y" }}

{% endif %} {% if project.target_completion_date %}

{% trans "Target Date" %}

{{ project.target_completion_date|date:"M d, Y" }}

{% endif %}
{% if project.team_members.count > 0 %}

{% trans "Team Members" %}

    {% for member in project.team_members.all %}
  • {{ member.get_full_name }}
  • {% endfor %}
{% endif %} {% if related_actions.count > 0 %}

{% trans "Related Actions" %}

{% endif %}
{% endblock %}