From c630bc3eaa91b446332e6a7b024dc9488431409d Mon Sep 17 00:00:00 2001 From: Michael Collins Date: Mon, 11 Oct 2021 15:13:09 +0800 Subject: [PATCH] update element section --- roles/matrix-awx/surveys/configure_element.json.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/matrix-awx/surveys/configure_element.json.j2 b/roles/matrix-awx/surveys/configure_element.json.j2 index 9c0398cc..b4021732 100755 --- a/roles/matrix-awx/surveys/configure_element.json.j2 +++ b/roles/matrix-awx/surveys/configure_element.json.j2 @@ -32,7 +32,7 @@ "required": false, "min": 0, "max": 256, - "default": "{{ matrix_client_element_brand }}", + "default": "{{ matrix_client_element_brand | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_brand", @@ -44,7 +44,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_branding_welcomeBackgroundUrl }}", + "default": "{{ matrix_client_element_branding_welcomeBackgroundUrl | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_branding_welcomeBackgroundUrl", @@ -56,7 +56,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_welcome_logo }}", + "default": "{{ matrix_client_element_welcome_logo | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_welcome_logo", @@ -68,7 +68,7 @@ "required": false, "min": 0, "max": 1024, - "default": "{{ matrix_client_element_welcome_logo_link }}", + "default": "{{ matrix_client_element_welcome_logo_link | trim }}", "choices": "", "new_question": true, "variable": "matrix_client_element_welcome_logo_link", @@ -80,7 +80,7 @@ "required": false, "min": 0, "max": 512, - "default": "{{ awx_matrix_client_element_welcome_headline }}", + "default": "{{ awx_matrix_client_element_welcome_headline | trim }}", "choices": "", "new_question": true, "variable": "awx_matrix_client_element_welcome_headline", @@ -92,7 +92,7 @@ "required": false, "min": 0, "max": 2048, - "default": "{{ awx_matrix_client_element_welcome_text }}", + "default": "{{ awx_matrix_client_element_welcome_text | trim }}", "choices": "", "new_question": true, "variable": "awx_matrix_client_element_welcome_text",