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 %} - - -
@@ -79,22 +48,25 @@
+ {% 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 %} - + +