{% extends "layouts/base.html" %} {% load i18n action_icons %} {% block title %}{% trans "PX Sources" %}{% endblock %} {% block content %}

{% trans "PX Sources" %}

{% trans "Manage patient experience source channels" %}

{% comment %} {% if request.user.is_px_admin %} {% endcomment %} {% action_icon 'create' %} {% trans "Add Source" %} {% comment %} {% endif %} {% endcomment %}
{% action_icon 'filter' %} {% trans "Sources" %}
{% for source in sources %} {% empty %} {% endfor %}
{% trans "Name (EN)" %} {% trans "Name (AR)" %} {% trans "Description" %} {% trans "Status" %} {% trans "Actions" %}
{{ source.name_en }} {{ source.name_ar|default:"-" }} {{ source.description|default:"-"|truncatewords:10 }} {% if source.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} {% action_icon 'view' %} {% if request.user.is_px_admin %} {% action_icon 'edit' %} {% action_icon 'delete' %} {% endif %}

{% trans "No sources found. Click 'Add Source' to create one." %}

{% endblock %}