From 90a84934d600fdc90bf174bc67b9f5990f4b58de Mon Sep 17 00:00:00 2001 From: Marwan Alwali Date: Wed, 7 May 2025 17:55:18 +0300 Subject: [PATCH] update user_list user_details customer_list customer_details and translation django.po --- templates/users/user_detail.html | 52 ++++++++------------------------ templates/users/user_list.html | 24 +++++++-------- 2 files changed, 24 insertions(+), 52 deletions(-) diff --git a/templates/users/user_detail.html b/templates/users/user_detail.html index 0cf7b6b7..9962acd6 100644 --- a/templates/users/user_detail.html +++ b/templates/users/user_detail.html @@ -5,37 +5,6 @@ {% block title %}{{ _("View Staff") }}{% endblock title %} {% block content %} - - -
+ {% include 'modal/delete_modal.html' %} {% endblock %} diff --git a/templates/users/user_list.html b/templates/users/user_list.html index 5011deb5..6a88f143 100644 --- a/templates/users/user_list.html +++ b/templates/users/user_list.html @@ -22,30 +22,30 @@ {% trans 'name'|capfirst %} - {% trans 'arabic name'|capfirst %} {% trans 'email'|capfirst %} {% trans 'phone number'|capfirst %} {% trans 'role'|capfirst %} - {% trans 'groups'|capfirst %} {% trans 'actions'|capfirst %} {% for user in users %} - {{ user.name }} - {{ user.arabic_name }} - {{ user.email }} - {{ user.phone_number }} - - {% trans user.staff_type|title %} + +
+ {{ user.arabic_name }} +
+

{{ user.name }}

+
+
+ {{ user.email }} + {{ user.phone_number }} - {% for group in user.groups.all %} - {{ group.name }} - {% endfor %} + {% trans user.staff_type|title %} - + +