diff --git a/modules/helfi_base_content/config/install/views.view.helfi_redirect.yml b/modules/helfi_base_content/config/install/views.view.helfi_redirect.yml index 02c9962ea..ecfe49cb0 100644 --- a/modules/helfi_base_content/config/install/views.view.helfi_redirect.yml +++ b/modules/helfi_base_content/config/install/views.view.helfi_redirect.yml @@ -222,6 +222,73 @@ display: multi_type: separator separator: ', ' field_api_classes: false + status: + id: status + table: redirect + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: redirect + entity_field: status + plugin_id: field + label: Published + 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: boolean + settings: + format: default + format_custom_false: '' + format_custom_true: '' + 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 language: id: language table: redirect @@ -629,14 +696,14 @@ display: exposed: true expose: operator_id: '' - label: Julkaistu + label: Published description: '' use_operator: false operator: status_op operator_limit_selection: false operator_list: { } identifier: status - required: true + required: false remember: false multiple: false remember_roles: @@ -673,14 +740,22 @@ display: row_class: '' default_row_class: true columns: + redirect_bulk_form: redirect_bulk_form redirect_source__path: redirect_source__path redirect_redirect__uri: redirect_redirect__uri status_code: status_code + is_custom: is_custom + status: status language: language created: created operations: operations default: created info: + redirect_bulk_form: + align: '' + separator: '' + empty_column: false + responsive: '' redirect_source__path: sortable: true default_sort_order: asc @@ -702,6 +777,20 @@ display: separator: '' empty_column: false responsive: '' + is_custom: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + status: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' language: sortable: true default_sort_order: asc @@ -717,8 +806,6 @@ display: empty_column: false responsive: '' operations: - sortable: false - default_sort_order: asc align: '' separator: '' empty_column: false diff --git a/modules/helfi_base_content/config/optional/language/fi/views.view.helfi_redirect.yml b/modules/helfi_base_content/config/optional/language/fi/views.view.helfi_redirect.yml index df012b442..26460ffd7 100644 --- a/modules/helfi_base_content/config/optional/language/fi/views.view.helfi_redirect.yml +++ b/modules/helfi_base_content/config/optional/language/fi/views.view.helfi_redirect.yml @@ -5,14 +5,20 @@ display: status_code: group_info: group_items: + 1: + title: '300 Useita valintoja' + 2: + title: '301 Pysyvästi siirretty' + 3: + title: '302 Löydetty' + 4: + title: '303 Kts. toinen' + 5: + title: '304 Muuttamaton' + 6: + title: '305 Käytä proxyä' 7: - title: '300 Multiple Choices' - 1: { } - 2: { } - 3: { } - 4: { } - 5: { } - 6: { } + title: '307 Tilapäinen uudelleenohjaus' label: Tilakoodi expose: label: Tilakoodi @@ -28,6 +34,9 @@ display: is_custom: expose: label: 'Käyttäjän luoma' + status: + expose: + label: Julkaistu exposed_form: options: submit_button: Suodata @@ -37,10 +46,14 @@ display: sort_desc_label: Laskevasti pager: options: - tags: { } expose: items_per_page_label: 'Merkintöjä sivua kohti' items_per_page_options_all_label: '- Kaikki -' + tags: + previous: '‹ edellinen' + next: 'seuraava ›' + first: '« ensimmäinen' + last: 'viimeinen »' fields: redirect_bulk_form: action_title: Valinnalla @@ -50,9 +63,12 @@ display: label: Luotu is_custom: label: 'Käyttäjän luoma' + status: + label: Julkaistu empty: area_text_custom: content: 'Ei ole vielä uudelleenohjaksia.' + title: Uudelleenohjaukset display_title: Oletus page_1: display_title: Sivu diff --git a/modules/helfi_base_content/helfi_base_content.install b/modules/helfi_base_content/helfi_base_content.install index 4e1630fed..b035d9e01 100644 --- a/modules/helfi_base_content/helfi_base_content.install +++ b/modules/helfi_base_content/helfi_base_content.install @@ -347,9 +347,17 @@ function helfi_base_content_update_9014(): void { } /** - * UHF-9704: Configure view for redirect module. + * UHF-10539: Configure view for redirect module. */ function helfi_base_content_update_9015(): void { \Drupal::service('helfi_platform_config.config_update_helper') ->update('helfi_base_content'); } + +/** + * UHF-10539: Configure view for redirect module. + */ +function helfi_base_content_update_9016(): void { + \Drupal::service('helfi_platform_config.config_update_helper') + ->update('helfi_base_content'); +}