Przeglądaj źródła

Merge pull request #218 from RedooNetworks/master

introduce configuration to change riot branding / title
pull/220/head
Slavi Pantaleev 6 lat temu
committed by GitHub
rodzic
commit
479a5137ca
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 1 usunięć
  1. +2
    -0
      roles/matrix-riot-web/defaults/main.yml
  2. +1
    -1
      roles/matrix-riot-web/templates/config.json.j2

+ 2
- 0
roles/matrix-riot-web/defaults/main.yml Wyświetl plik

@@ -28,6 +28,8 @@ matrix_riot_web_integrations_jitsi_widget_url: "https://scalar.vector.im/api/wid
# Riot public room directory server(s) # Riot public room directory server(s)
matrix_riot_web_roomdir_servers: ['matrix.org'] matrix_riot_web_roomdir_servers: ['matrix.org']
matrix_riot_web_welcome_user_id: "@riot-bot:matrix.org" matrix_riot_web_welcome_user_id: "@riot-bot:matrix.org"
# Branding of riot web
matrix_riot_web_brand: "Riot"


# By default, there's no Riot homepage (when logged in). If you wish to have one, # By default, there's no Riot homepage (when logged in). If you wish to have one,
# point this to a `home.html` template file on your local filesystem. # point this to a `home.html` template file on your local filesystem.


+ 1
- 1
roles/matrix-riot-web/templates/config.json.j2 Wyświetl plik

@@ -4,7 +4,7 @@
"default_is_url": {{ matrix_riot_web_default_is_url|string|to_json }}, "default_is_url": {{ matrix_riot_web_default_is_url|string|to_json }},
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }}, "disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }},
"disable_guests": {{ matrix_riot_web_disable_guests|to_json }}, "disable_guests": {{ matrix_riot_web_disable_guests|to_json }},
"brand": "Riot",
"brand": {{ matrix_riot_web_brand|to_json }},
"integrations_ui_url": {{ matrix_riot_web_integrations_ui_url|string|to_json }}, "integrations_ui_url": {{ matrix_riot_web_integrations_ui_url|string|to_json }},
"integrations_rest_url": {{ matrix_riot_web_integrations_rest_url|string|to_json }}, "integrations_rest_url": {{ matrix_riot_web_integrations_rest_url|string|to_json }},
"integrations_widgets_urls": {{ matrix_riot_web_integrations_widgets_urls|to_json }}, "integrations_widgets_urls": {{ matrix_riot_web_integrations_widgets_urls|to_json }},


Ładowanie…
Anuluj
Zapisz