diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js
index f4dc92aca4..53e1ddea71 100644
--- a/src/components/structures/UserSettings.js
+++ b/src/components/structures/UserSettings.js
@@ -921,6 +921,25 @@ module.exports = React.createClass({
;
},
+ _renderTermsAndConditionsLinks: function() {
+ if (SdkConfig.get().terms_and_conditions_links) {
+ const tncLinks = [];
+ for (const tncEntry of SdkConfig.get().terms_and_conditions_links) {
+ tncLinks.push(
);
+ }
+ return
+
{ _t("Legal") }
+
+ {tncLinks}
+
+
;
+ } else {
+ return null;
+ }
+ },
+
_renderClearCache: function() {
return
{ _t("Clear Cache") }
@@ -1407,6 +1426,8 @@ module.exports = React.createClass({
{ this._renderDeactivateAccount() }
+ { this._renderTermsAndConditionsLinks() }
+
);
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index b560c7e71b..2371ba0ca6 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1117,6 +1117,7 @@
"Lazy loading members not supported": "Lazy loading members not supported",
"Lazy loading is not supported by your current homeserver.": "Lazy loading is not supported by your current homeserver.",
"Deactivate my account": "Deactivate my account",
+ "Legal": "Legal",
"Clear Cache": "Clear Cache",
"Clear Cache and Reload": "Clear Cache and Reload",
"Updates": "Updates",