{% extends 'layouts/base.html' %} {% load i18n %} {% block title %}{% trans "Settings" %} - PX360{% endblock %} {% block content %}

{% trans "Settings" %}

{% trans "Profile Settings" %}
{% csrf_token %}
{% if user.avatar %} {{ user.get_full_name }} {% else %}
{% endif %}
{% trans "Contact administrator to change email" %}
{% trans "Required for SMS notifications" %}
{% trans "Profile Tips" %}
  • {% trans "Add a professional photo to help others recognize you" %}
  • {% trans "Keep your phone number updated for SMS notifications" %}
  • {% trans "Add a bio to share your role and expertise" %}
  • {% trans "Choose your preferred language for the interface" %}
{% trans "Notification Preferences" %}
{% csrf_token %}
{% trans "Receive notifications via email for complaint assignments, updates, and escalations" %}
{% trans "Receive critical notifications via SMS (requires phone number)" %}
{% trans "Default channel for general notifications" %}
{% trans "Default channel when requesting complaint explanations" %}
{% trans "Required to receive SMS notifications" %}
{% trans "Notification Tips" %}

{% trans "Configure how you receive notifications to stay informed without being overwhelmed." %}

  • {% trans "Email is best for detailed information" %}
  • {% trans "SMS is best for urgent alerts" %}
  • {% trans "In-app notifications are always enabled" %}
{% trans "Security Settings" %}
{% csrf_token %}
{% trans "Minimum 8 characters" %}
{% trans "Password History" %}

{% trans "Last password change:" %} {% if user.password %}{% trans "Recently" %}{% else %}{% trans "Never" %}{% endif %}

{% trans "Security Tips" %}
  • {% trans "Use strong passwords with letters, numbers, and symbols" %}
  • {% trans "Don't reuse passwords from other sites" %}
  • {% trans "Change your password regularly" %}
  • {% trans "Never share your password with anyone" %}
{% trans "Account Information" %}
{% trans "Full Name" %} {{ user.get_full_name }}
{% trans "Email" %} {{ user.email }}
{% trans "Member Since" %} {{ user.date_joined|date:"F d, Y" }}
{% trans "Hospital" %} {% if user.hospital %}{{ user.hospital.name }}{% else %}{% trans "Not assigned" %}{% endif %}
{% trans "Department" %} {% if user.department %}{{ user.department.name }}{% else %}{% trans "Not assigned" %}{% endif %}
{% trans "Employee ID" %} {{ user.employee_id|default:"N/A" }}
{% trans "Role" %} {% if user.is_px_admin %} {% trans "PX Admin" %} {% elif user.is_hospital_admin %} {% trans "Hospital Admin" %} {% elif user.is_department_head %} {% trans "Department Head" %} {% else %} {% trans "Staff" %} {% endif %}
{% trans "Account Info" %}

{% trans "This information is managed by your organization's administrators. Contact them if you need to update your hospital, department, or employee ID." %}

{% if user.is_px_admin or user.is_hospital_admin %}
{% trans "SLA Configuration" %}
{% trans "Configure Service Level Agreements, escalation rules, and complaint thresholds for your organization." %}
{% trans "SLA Best Practices" %}
  • {% trans "Set realistic deadlines based on complaint severity" %}
  • {% trans "Configure multiple escalation levels for smooth handoffs" %}
  • {% trans "Monitor thresholds to identify trends and issues early" %}
  • {% trans "Review and adjust SLA settings regularly" %}
{% endif %}
{% endblock %}