{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{{ template.name }} - PX360{% endblock %} {% block content %}
{{ template.name_ar }}
| {% trans "Hospital:" %} | {{ template.hospital.get_localized_name }} |
|---|---|
| {% trans "Status:" %} | {% if template.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} |
| {% trans "Description:" %} | {{ template.description|default:"-" }} |
| {% trans "Created By:" %} | {{ template.created_by.get_full_name|default:"System" }} |
| {% trans "Created At:" %} | {{ template.created_at|date:"Y-m-d H:i" }} |
| {% trans "Total Stages:" %} | {{ stages.count }} |
|---|---|
| {% trans "Total Journeys:" %} | {{ stats.total_instances }} |
| {% trans "Active Journeys:" %} | {{ stats.active_instances }} |
| {% trans "Completed Journeys:" %} | {{ stats.completed_instances }} |
| {% trans "Order" %} | {% trans "Stage Name (EN)" %} | {% trans "Stage Name (AR)" %} | {% trans "Survey Template" %} | {% trans "Active" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|
| {{ stage.order }} | {{ stage.name }} | {{ stage.name_ar|default:"-" }} | {% if stage.survey_template %} {{ stage.survey_template.name }} {% else %} {% trans "No survey assigned" %} {% endif %} | {% if stage.is_active %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} | {% trans "Edit" %} |
{% trans "No stages defined yet" %}