Преглед изворни кода

additional customizations of welcome page

pull/394/head
Stefan Warnat пре 6 година
родитељ
комит
0322a5443a
2 измењених фајлова са 18 додато и 0 уклоњено
  1. +13
    -0
      roles/matrix-riot-web/defaults/main.yml
  2. +5
    -0
      roles/matrix-riot-web/templates/config.json.j2

+ 13
- 0
roles/matrix-riot-web/defaults/main.yml Прегледај датотеку

@@ -32,7 +32,20 @@ matrix_riot_web_welcome_user_id: "@riot-bot:matrix.org"
# Branding of riot web
matrix_riot_web_brand: "Riot"

# Links, shown in footer of welcome page:
# [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}]
matrix_riot_web_welcome_footerlinks: false

# URL to image, shown during Login
matrix_riot_web_welcome_authlogo: false

# URL to Wallpaper, shown in background of welcome page
matrix_riot_web_welcome_background: false

# URL to Logo on welcome page
matrix_riot_web_welcome_logo: "welcome/images/logo.svg"

# URL of link on welcome image
matrix_riot_web_welcome_logo_link: "https://riot.im"

matrix_riot_web_welcome_headline: "_t('Welcome to Riot.im')"


+ 5
- 0
roles/matrix-riot-web/templates/config.json.j2 Прегледај датотеку

@@ -29,5 +29,10 @@
{% endif %}
"embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }}
},
"branding": {
"authFooterLinks": {{ matrix_riot_web_welcome_footerlinks|to_json }},
"authHeaderLogoUrl": {{ matrix_riot_web_welcome_authlogo|to_json }},
"welcomeBackgroundUrl": {{ matrix_riot_web_welcome_background|to_json }}
}
}

Loading…
Откажи
Сачувај