From 61cfecbeb4e65ecf3584918783f1c3cb4627ecf7 Mon Sep 17 00:00:00 2001 From: scott_earnest Date: Mon, 1 Nov 2021 17:21:16 -0600 Subject: [PATCH] FE2-37: Config for CFO admin dashboard. --- .../default/views.view.cfo_council_admin.yml | 453 +++++++++++++++++- 1 file changed, 446 insertions(+), 7 deletions(-) diff --git a/config/default/views.view.cfo_council_admin.yml b/config/default/views.view.cfo_council_admin.yml index c99ad6a00..9ae9294cc 100644 --- a/config/default/views.view.cfo_council_admin.yml +++ b/config/default/views.view.cfo_council_admin.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.storage.node.field_council_committees + - node.type.cfo_committee - node.type.cfo_council - node.type.cfo_meeting - user.role.authenticated @@ -336,11 +337,385 @@ display: - user.roles tags: - 'config:field.storage.node.field_council_committees' - attachment_1: + committees: display_plugin: attachment - id: attachment_1 - display_title: Meetings + id: committees + display_title: Committees position: 2 + display_options: + display_extenders: { } + title: 'CFO Committees' + defaults: + title: false + style: false + row: false + fields: false + filters: false + filter_groups: false + sorts: false + relationships: false + header: false + style: + type: html_list + options: + grouping: { } + row_class: '' + default_row_class: true + type: ul + wrapper_class: item-list + class: '' + row: + type: fields + options: { } + fields: + edit_node: + id: edit_node + table: node + field: edit_node + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: true + 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: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: edit + output_url_as_text: true + absolute: false + entity_type: node + plugin_id: entity_link_edit + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: true + 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: false + 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: boolean + settings: + format: custom + format_custom_true: '' + format_custom_false: (UNPUBLISHED) + 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 + entity_type: node + entity_field: status + plugin_id: field + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: true + alter: + alter_text: true + text: '   (json)' + make_link: true + path: '/api/cfo/committee/{{ nid }}' + 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: false + 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: number_unformatted + 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 + entity_type: node + entity_field: nid + plugin_id: field + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: true + text: '{{ title }} {{ status }} {{ nid }}' + make_link: true + path: '{{ edit_node }}?destination=/admin/content/cfo-council' + 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: false + ellipsis: false + 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: false + 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: string + settings: + link_to_entity: false + 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 + entity_type: node + entity_field: title + plugin_id: field + filters: + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + operator: in + value: + cfo_committee: cfo_committee + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + argument: null + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + entity_field: type + plugin_id: bundle + filter_groups: + operator: AND + groups: + 1: AND + sorts: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: false + expose: + label: '' + entity_type: node + entity_field: title + plugin_id: standard + relationships: { } + displays: + page_1: page_1 + attachment_position: after + pager: + type: none + options: + offset: 0 + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + empty: false + tokenize: false + content: + value: '

Committees (full list)

' + format: rich_text + plugin_id: text + display_description: '' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.roles + tags: { } + meetings: + display_plugin: attachment + id: meetings + display_title: Meetings + position: 3 display_options: display_extenders: { } title: 'CFO Meetings' @@ -487,6 +862,70 @@ display: entity_type: node entity_field: status plugin_id: field + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: true + alter: + alter_text: true + text: '  (json)' + make_link: true + path: '/api/cfo/meeting/{{ nid }}' + 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: false + 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: number_unformatted + 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 + entity_type: node + entity_field: nid + plugin_id: field title: id: title table: node_field_data @@ -498,7 +937,7 @@ display: exclude: false alter: alter_text: true - text: '{{ title }} {{ status }}' + text: '{{ title }} {{ status }} {{ nid }}' make_link: true path: '{{ edit_node }}?destination=/admin/content/cfo-council' absolute: false @@ -856,12 +1295,12 @@ display: relationship: none group_type: group admin_label: '' - label: Committees + label: 'Committees (assigned to the Council)' exclude: false alter: alter_text: false text: '' - make_link: true + make_link: false path: '/node/{{ field_council_committees__target_id }}/edit?destination=/admin/content/cfo-council' absolute: false external: false @@ -926,7 +1365,7 @@ display: empty: false tokenize: false content: - value: "click here to add a committee\r\n  |  \r\nclick here to add a meeting\r\n  |  \r\ncouncil json" + value: "[ ADD CONTENT:   \r\nclick here to add a committee\r\n  |  \r\nclick here to add a meeting\r\n]    \r\n[ JSON FEEDS:   \r\ncouncil page\r\n  |  \r\ncommittees list\r\n  |  \r\nmeetings list\r\n]" format: rich_text plugin_id: text cache_metadata: