element-web camelCase renaming (permalinkPrefix -> permalink_prefix)

This commit is contained in:
Slavi Pantaleev 2023-08-10 15:48:22 +03:00
parent 809316b16e
commit c800af1bb6
3 changed files with 3 additions and 2 deletions

View file

@ -149,7 +149,7 @@ matrix_client_element_integrations_ui_url: "https://scalar.vector.im/"
matrix_client_element_integrations_rest_url: "https://scalar.vector.im/api"
matrix_client_element_integrations_widgets_urls: ["https://scalar.vector.im/api"]
matrix_client_element_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html"
matrix_client_element_permalinkPrefix: "https://matrix.to" # noqa var-naming
matrix_client_element_permalink_prefix: "https://matrix.to" # noqa var-naming
matrix_client_element_bug_report_endpoint_url: "https://element.io/bugreports/submit"
matrix_client_element_show_lab_settings: true # noqa var-naming
# Element public room directory server(s)

View file

@ -35,6 +35,7 @@
when: "item.old in vars"
with_items:
- {'old': 'matrix_client_element_showLabsSettings', 'new': 'matrix_client_element_show_lab_settings'}
- {'old': 'matrix_client_element_permalinkPrefix', 'new': 'matrix_client_element_permalink_prefix'}
- when: matrix_client_element_container_labels_traefik_enabled | bool
block:

View file

@ -13,7 +13,7 @@
},
"default_theme": {{ matrix_client_element_default_theme | string | to_json }},
"default_country_code": {{ matrix_client_element_default_country_code | string | to_json }},
"permalinkPrefix": {{ matrix_client_element_permalinkPrefix | string | to_json }},
"permalink_prefix": {{ matrix_client_element_permalink_prefix | string | to_json }},
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls | to_json }},
"disable_guests": {{ matrix_client_element_disable_guests | to_json }},
"brand": {{ matrix_client_element_brand | to_json }},