Get support url from global config for user dropdown link

stable
Daniel García 2018-03-06 08:49:44 +01:00 committed by Miguel Gonzalez
parent e1d9b8d0aa
commit a450c20cd1
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ window.taigaConfig = {
"defaultTheme": "taiga", "defaultTheme": "taiga",
"publicRegisterEnabled": true, "publicRegisterEnabled": true,
"feedbackEnabled": true, "feedbackEnabled": true,
"supportUrl": null,
"privacyPolicyUrl": null, "privacyPolicyUrl": null,
"termsOfServiceUrl": null, "termsOfServiceUrl": null,
"maxUploadFileSize": null, "maxUploadFileSize": null,

View File

@ -51,7 +51,7 @@ div.navbar-dropdown.dropdown-user
translate="PROJECT.NAVIGATION.FEEDBACK") translate="PROJECT.NAVIGATION.FEEDBACK")
li li
a( a(
href="https://tree.taiga.io/support/", href="{{ vm.supportUrl }}",
target="_blank", target="_blank",
title="{{'PROJECT.NAVIGATION.HELP_TITLE' | translate}}", title="{{'PROJECT.NAVIGATION.HELP_TITLE' | translate}}",
translate="PROJECT.NAVIGATION.HELP") translate="PROJECT.NAVIGATION.HELP")