From 8b88b3e349d6c6b0e10817778475092b7c9058f0 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 27 Apr 2023 11:32:57 +0200 Subject: [PATCH] admin view improved --- src/config/sync/views.view.admin_nodes.yml | 225 +++++++++++++++++++-- 1 file changed, 205 insertions(+), 20 deletions(-) diff --git a/src/config/sync/views.view.admin_nodes.yml b/src/config/sync/views.view.admin_nodes.yml index 17f56d9..6838c7f 100644 --- a/src/config/sync/views.view.admin_nodes.yml +++ b/src/config/sync/views.view.admin_nodes.yml @@ -3,6 +3,7 @@ langcode: fr status: true dependencies: config: + - field.storage.node.field_confidentialite - node.type.concernement - node.type.entite - node.type.static @@ -11,6 +12,7 @@ dependencies: module: - content_lock - node + - options - user - views_bulk_operations id: admin_nodes @@ -202,7 +204,7 @@ display: status: status changed: changed uid: uid - default: '-1' + default: changed info: views_bulk_operations_bulk_form: align: '' @@ -237,7 +239,7 @@ display: responsive: '' changed: sortable: true - default_sort_order: asc + default_sort_order: desc align: '' separator: '' empty_column: false @@ -367,11 +369,15 @@ display: action_id: node_unpublish_by_keyword_action preconfiguration: add_confirmation: false - 10: + 9: + action_id: workflow_node_given_state_action + preconfiguration: + add_confirmation: false + 12: action_id: 'entity:save_action:node' preconfiguration: add_confirmation: false - 11: + 13: action_id: 'entity:unpublish_action:node' preconfiguration: add_confirmation: true @@ -743,6 +749,68 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_confidentialite: + id: field_confidentialite + table: node__field_confidentialite + field: field_confidentialite + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: Confidentialité + 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 + click_sort_column: value + type: list_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false access: type: role options: @@ -836,6 +904,53 @@ display: default_group: All default_group_multiple: { } group_items: { } + uid: + id: uid + table: node_field_data + field: uid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: uid + plugin_id: user_name + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: uid_op + label: 'Écrit par' + description: '' + use_operator: false + operator: uid_op + operator_limit_selection: false + operator_list: { } + identifier: uid + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + group_admin: '0' + group_member: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } filter_groups: operator: AND groups: @@ -872,7 +987,8 @@ display: - url.query_args - 'user.node_grants:view' - user.roles - tags: { } + tags: + - 'config:field.storage.node.field_confidentialite' page_2: id: page_2 display_title: Entités @@ -943,14 +1059,18 @@ display: preconfiguration: add_confirmation: false 9: - action_id: 'entity:publish_action:node' - preconfiguration: - add_confirmation: false - 10: - action_id: 'entity:save_action:node' + action_id: workflow_node_given_state_action preconfiguration: add_confirmation: false 11: + action_id: 'entity:publish_action:node' + preconfiguration: + add_confirmation: false + 12: + action_id: 'entity:save_action:node' + preconfiguration: + add_confirmation: false + 13: action_id: 'entity:unpublish_action:node' preconfiguration: add_confirmation: false @@ -1322,6 +1442,68 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_confidentialite: + id: field_confidentialite + table: node__field_confidentialite + field: field_confidentialite + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: Confidentialité + 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 + click_sort_column: value + type: list_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false access: type: role options: @@ -1426,25 +1608,20 @@ display: default_row_class: true columns: views_bulk_operations_bulk_form: views_bulk_operations_bulk_form - field_images: field_images title: title operations: title is_locked: title status: status changed: changed uid: uid - default: '-1' + field_confidentialite: field_confidentialite + default: changed info: views_bulk_operations_bulk_form: align: '' separator: '' empty_column: false responsive: '' - field_images: - align: '' - separator: '' - empty_column: false - responsive: '' title: sortable: false default_sort_order: asc @@ -1465,20 +1642,27 @@ display: empty_column: false responsive: '' status: - sortable: false + sortable: true default_sort_order: asc align: '' separator: '' empty_column: false responsive: '' changed: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + uid: sortable: false default_sort_order: asc align: '' separator: '' empty_column: false responsive: '' - uid: + field_confidentialite: sortable: false default_sort_order: asc align: '' @@ -1533,7 +1717,8 @@ display: - url.query_args - 'user.node_grants:view' - user.roles - tags: { } + tags: + - 'config:field.storage.node.field_confidentialite' page_3: id: page_3 display_title: 'Admin Statics'