reviewed admin views, created licences admin view

This commit is contained in:
Bachir Soussi Chiadmi 2022-03-14 12:30:42 +01:00
parent fc1124b696
commit 4a71933d0a
2 changed files with 933 additions and 183 deletions

View File

@ -2460,20 +2460,19 @@ display:
default_row_class: true
columns:
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
uid: uid
address_given_name: address_given_name
address_family_name: uid
phone: uid
mail: uid
address_country_code: address_country_code
address: address
tax_number: tax_number
operations_1: uid
granted: granted
renewed: renewed
state: state
product_variation: product_variation
edit_commerce_license: edit_commerce_license
name: name
mail: mail
operations: operations
roles_target_id: roles_target_id
field_member_type: field_member_type
field_company: field_company
field_showroom: field_showroom
access: access
created: created
field_memo: field_memo
status: status
record_id: record_id
role_expire_expiry_data: role_expire_expiry_data
default: '-1'
info:
views_bulk_operations_bulk_form:
@ -2481,28 +2480,7 @@ display:
separator: ''
empty_column: false
responsive: ''
uid:
sortable: false
default_sort_order: asc
align: ''
separator: '<br>'
empty_column: false
responsive: ''
address_given_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address_family_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
phone:
name:
sortable: false
default_sort_order: asc
align: ''
@ -2516,59 +2494,75 @@ display:
separator: ''
empty_column: false
responsive: ''
address_country_code:
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
roles_target_id:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address:
field_member_type:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
tax_number:
align: ''
separator: ''
empty_column: false
responsive: ''
operations_1:
align: ''
separator: ''
empty_column: false
responsive: ''
granted:
field_company:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
renewed:
field_showroom:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
state:
access:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
created:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_memo:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
product_variation:
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
edit_commerce_license:
record_id:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
role_expire_expiry_data:
sortable: false
default_sort_order: asc
align: ''
@ -3701,20 +3695,15 @@ display:
default_row_class: true
columns:
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
uid: uid
address_given_name: address_given_name
address_family_name: uid
phone: uid
mail: uid
address_country_code: address_country_code
address: address
tax_number: tax_number
operations_1: uid
granted: granted
renewed: renewed
state: state
product_variation: product_variation
edit_commerce_license: edit_commerce_license
field_name: field_name
field_first_name: field_first_name
mail: mail
operations: operations
field_organization: field_organization
status: status
access: access
record_id: record_id
field_memo: field_memo
default: '-1'
info:
views_bulk_operations_bulk_form:
@ -3722,28 +3711,14 @@ display:
separator: ''
empty_column: false
responsive: ''
uid:
sortable: false
default_sort_order: asc
align: ''
separator: '<br>'
empty_column: false
responsive: ''
address_given_name:
field_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address_family_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
phone:
field_first_name:
sortable: false
default_sort_order: asc
align: ''
@ -3757,59 +3732,40 @@ display:
separator: ''
empty_column: false
responsive: ''
address_country_code:
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
field_organization:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address:
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
tax_number:
align: ''
separator: ''
empty_column: false
responsive: ''
operations_1:
align: ''
separator: ''
empty_column: false
responsive: ''
granted:
sortable: false
access:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
renewed:
sortable: false
record_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
state:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
product_variation:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
edit_commerce_license:
field_memo:
sortable: false
default_sort_order: asc
align: ''
@ -4949,20 +4905,16 @@ display:
default_row_class: true
columns:
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
uid: uid
address_given_name: address_given_name
address_family_name: uid
phone: uid
mail: uid
address_country_code: address_country_code
address: address
tax_number: tax_number
operations_1: uid
granted: granted
renewed: renewed
state: state
product_variation: product_variation
edit_commerce_license: edit_commerce_license
field_title: field_title
field_name: field_name
field_position: field_position
field_phone: field_phone
field_email: field_email
roles_target_id: roles_target_id
status: status
field_memo: field_memo
access: access
record_id: record_id
default: '-1'
info:
views_bulk_operations_bulk_form:
@ -4970,95 +4922,71 @@ display:
separator: ''
empty_column: false
responsive: ''
uid:
sortable: false
default_sort_order: asc
align: ''
separator: '<br>'
empty_column: false
responsive: ''
address_given_name:
field_title:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address_family_name:
field_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
phone:
field_position:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
mail:
field_phone:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address_country_code:
field_email:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
address:
roles_target_id:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
tax_number:
align: ''
separator: ''
empty_column: false
responsive: ''
operations_1:
align: ''
separator: ''
empty_column: false
responsive: ''
granted:
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
renewed:
field_memo:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
state:
sortable: false
access:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
product_variation:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
edit_commerce_license:
sortable: false
record_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
@ -6334,16 +6262,16 @@ display:
address_family_name: uid
phone: uid
mail: uid
operations_1: uid
address_country_code: address_country_code
address: address
tax_number: tax_number
operations_1: uid
granted: granted
renewed: renewed
state: state
product_variation: product_variation
edit_commerce_license: edit_commerce_license
default: '-1'
default: granted
info:
views_bulk_operations_bulk_form:
align: ''
@ -6385,6 +6313,11 @@ display:
separator: ''
empty_column: false
responsive: ''
operations_1:
align: ''
separator: ''
empty_column: false
responsive: ''
address_country_code:
sortable: false
default_sort_order: asc
@ -6404,20 +6337,15 @@ display:
separator: ''
empty_column: false
responsive: ''
operations_1:
align: ''
separator: ''
empty_column: false
responsive: ''
granted:
sortable: false
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
renewed:
sortable: false
sortable: true
default_sort_order: asc
align: ''
separator: ''
@ -7452,7 +7380,6 @@ display:
name: uid
mail: uid
operations: uid
roles_target_id: roles_target_id
field_member_type: field_member_type
access: access
created: created
@ -7491,13 +7418,6 @@ display:
separator: ''
empty_column: false
responsive: ''
roles_target_id:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_member_type:
sortable: false
default_sort_order: asc
@ -7506,7 +7426,7 @@ display:
empty_column: false
responsive: ''
access:
sortable: false
sortable: true
default_sort_order: asc
align: ''
separator: ''
@ -7527,7 +7447,7 @@ display:
empty_column: false
responsive: ''
record_id:
sortable: false
sortable: true
default_sort_order: asc
align: ''
separator: ''

View File

@ -0,0 +1,830 @@
uuid: 1c1740ca-f44d-4f02-b8f9-4c27d94d0f0b
langcode: en
status: true
dependencies:
config:
- system.menu.editors
- user.role.admin
- user.role.root
module:
- commerce
- commerce_license
- options
- state_machine
- user
id: licences
label: Licences
module: views
description: ''
tag: ''
base_table: commerce_license
base_field: license_id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: Licences
fields:
uid:
id: uid
table: commerce_license
field: uid
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: uid
plugin_id: field
label: Propriétaire
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: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
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
operations:
id: operations
table: commerce_license
field: operations
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
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
product_variation:
id: product_variation
table: commerce_license
field: product_variation
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: product_variation
plugin_id: field
label: 'Licensed product variation'
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: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
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
state:
id: state
table: commerce_license
field: state
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: state
plugin_id: field
label: État
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
created:
id: created
table: commerce_license
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: created
plugin_id: field
label: Créé
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: timestamp
settings:
date_format: medium
custom_date_format: ''
timezone: ''
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
granted:
id: granted
table: commerce_license
field: granted
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: granted
plugin_id: field
label: Accordé(e)
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: timestamp
settings:
date_format: medium
custom_date_format: ''
timezone: ''
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
expires:
id: expires
table: commerce_license
field: expires
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: expires
plugin_id: field
label: Expire
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: timestamp
settings:
date_format: medium
custom_date_format: ''
timezone: ''
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
license_role_target_id:
id: license_role_target_id
table: commerce_license__license_role
field: license_role_target_id
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: license_role
plugin_id: field
label: Rôle
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: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
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
pager:
type: mini
options:
offset: 0
items_per_page: 20
total_pages: null
id: 0
tags:
next:
previous:
expose:
items_per_page: false
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Appliquer
reset_button: false
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
admin: admin
root: root
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
type:
id: type
table: commerce_license
field: type
entity_type: commerce_license
entity_field: type
plugin_id: commerce_entity_bundle
value:
role: role
expose:
operator_limit_selection: false
operator_list: { }
product_variation:
id: product_variation
table: commerce_license
field: product_variation
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: product_variation
plugin_id: numeric
operator: '='
value:
min: ''
max: ''
value: ''
group: 1
exposed: true
expose:
operator_id: product_variation_op
label: 'Licensed product variation'
description: ''
use_operator: false
operator: product_variation_op
operator_limit_selection: false
operator_list: { }
identifier: product_variation
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
state:
id: state
table: commerce_license
field: state
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_license
entity_field: state
plugin_id: state_machine_state
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: state_op
label: État
description: ''
use_operator: false
operator: state_op
operator_limit_selection: false
operator_list: { }
identifier: state
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '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: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
uid: uid
operations: uid
granted: granted
created: created
expires: expires
state: state
product_variation: product_variation
license_role_target_id: license_role_target_id
default: expires
info:
uid:
sortable: false
default_sort_order: asc
align: ''
separator: '<br>'
empty_column: false
responsive: ''
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
granted:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
created:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
expires:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
state:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
product_variation:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
license_role_target_id:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders:
views_ef_fieldset: { }
path: admin/people/licences
menu:
type: normal
title: Licences
description: ''
weight: 3
expanded: false
menu_name: editors
parent: editors_menus.commerce
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }