{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{{ template.name }} - {% trans "Template" %} - PX360{% endblock %} {% block content %}
{% trans "Back to Templates" %}

{{ template.name }}

{% if not template.hospital %} {% trans "Global" %} {% endif %}
{% if template.description %}

{{ template.description|linebreaksbr }}

{% endif %}

{% trans "Template Tasks" %}

{{ tasks.count }} {% trans "tasks" %}
{% if tasks %}
    {% for task in tasks %}
  • {{ forloop.counter }}

    {{ task.title }}

    {% if task.description %}

    {{ task.description|linebreaksbr }}

    {% endif %}
  • {% endfor %}
{% else %}

{% trans "No tasks in this template" %}

{% endif %}

{% trans "Template Info" %}

{% trans "Scope" %}

{% if template.hospital %} {{ template.hospital.name }} {% else %} {% trans "Global (All Hospitals)" %} {% endif %}

{% if template.department %}
{% trans "Department" %}

{{ template.department.name }}

{% endif %} {% if template.target_completion_date %}
{% trans "Suggested Timeline" %}

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

{% endif %}
{% trans "Created" %}

{{ template.created_at|date:"M d, Y" }}

{% trans "How to use this template" %}

{% trans "Click the button below to create a new QI project based on this template. All tasks will be copied to the new project." %}

{% trans "Create Project from Template" %}
{% endblock %}