Jelajahi Sumber

improved amdin user views

bach 2 bulan lalu
induk
melakukan
0de38a8a24
1 mengubah file dengan 69 tambahan dan 16 penghapusan
  1. 69 16
      config/sync/views.view.admin_users.yml

+ 69 - 16
config/sync/views.view.admin_users.yml

@@ -26,7 +26,6 @@ dependencies:
     - user.role.free_user
     - user.role.root
     - user.role.student
-    - user.role.unverified
   module:
     - address
     - better_exposed_filters
@@ -5096,9 +5095,9 @@ display:
           columns:
             views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
             field_name: field_name
-            field_first_name: field_first_name
-            mail: mail
-            operations: operations
+            field_first_name: field_name
+            mail: field_name
+            operations: field_name
             field_organization: field_organization
             status: status
             access: access
@@ -5115,7 +5114,7 @@ display:
               sortable: false
               default_sort_order: asc
               align: ''
-              separator: ''
+              separator: '<br>'
               empty_column: false
               responsive: ''
             field_first_name:
@@ -5474,10 +5473,10 @@ display:
           admin_label: ''
           plugin_id: field
           label: Title
-          exclude: false
+          exclude: true
           alter:
-            alter_text: false
-            text: ''
+            alter_text: true
+            text: '({{ field_title }})'
             make_link: false
             path: ''
             absolute: false
@@ -5538,8 +5537,8 @@ display:
           label: Name
           exclude: false
           alter:
-            alter_text: false
-            text: ''
+            alter_text: true
+            text: '{{ field_name }} {{ field_title }} '
             make_link: false
             path: ''
             absolute: false
@@ -5590,6 +5589,57 @@ display:
           multi_type: separator
           separator: ', '
           field_api_classes: false
+        operations:
+          id: operations
+          table: users
+          field: operations
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          plugin_id: entity_operations
+          label: "Liens d'actions"
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          destination: false
         field_position:
           id: field_position
           table: profile__field_position
@@ -6160,7 +6210,7 @@ display:
           exposed: true
           expose:
             operator_id: field_name_value_op
-            label: Name
+            label: 'Name (field_name)'
             description: ''
             use_operator: false
             operator: field_name_value_op
@@ -6208,12 +6258,9 @@ display:
           plugin_id: user_roles
           operator: or
           value:
-            unverified: unverified
-            free_user: free_user
             contact_company: contact_company
-            adherent: adherent
           group: 1
-          exposed: true
+          exposed: false
           expose:
             operator_id: roles_target_id_op
             label: Rôles
@@ -6317,6 +6364,7 @@ display:
             views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
             field_title: field_title
             field_name: field_name
+            operations: field_name
             field_position: field_position
             field_phone: field_phone
             field_email: field_email
@@ -6336,7 +6384,7 @@ display:
               sortable: false
               default_sort_order: asc
               align: ''
-              separator: ''
+              separator: '<br>'
               empty_column: false
               responsive: ''
             field_name:
@@ -6346,6 +6394,11 @@ display:
               separator: ''
               empty_column: false
               responsive: ''
+            operations:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
             field_position:
               sortable: false
               default_sort_order: asc