diff --git a/customize.dist/pages/index.js b/customize.dist/pages/index.js index 279bbe5fc..d7dde32a1 100644 --- a/customize.dist/pages/index.js +++ b/customize.dist/pages/index.js @@ -114,12 +114,12 @@ define([ return h('a', attrs, text); }; + var fastLink = k => pageLink(Pages.customURLs[k], k); + // XXX DB: this may be wrong, pasted over form pages.js - var imprintUrl = AppConfig.imprint && (typeof(AppConfig.imprint) === "boolean" ? - '/imprint.html' : AppConfig.imprint); - imprintLink = AppConfig.imprint ? pageLink(imprintUrl, 'imprint') : undefined; - privacyLink = pageLink(AppConfig.privacy, 'privacy'); - termsLink = pageLink(AppConfig.terms, 'terms'); + var imprintLink = fastLink('imprint'); + var privacyLink = fastLink('privacy'); + var termsLink = fastLink('terms'); var notice; /* Admins can specify a notice to display in application_config.js via the `homeNotice` attribute. diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 1df1a2354..9bb56f6dc 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -206,7 +206,7 @@ body.html { } - .cp-footer-language{ + .cp-footer-language { margin-right: 10px; i { font-size: 1.3em; @@ -218,7 +218,7 @@ body.html { color: @cryptpad_text_col; border: 0px; border-radius: @infopages-radius; - padding: 0.5em 0.7em; + padding: 0.5em 0.7em; } } .cp-footer-version { diff --git a/customize.dist/src/less2/include/variables.less b/customize.dist/src/less2/include/variables.less index 815fe11be..f945538fc 100644 --- a/customize.dist/src/less2/include/variables.less +++ b/customize.dist/src/less2/include/variables.less @@ -13,4 +13,5 @@ // Rounded corners @variables_radius: 5px; -@variables_radius_L: 10px; \ No newline at end of file +@variables_radius_L: 10px; +