From 7d9a009319415733a721f0f4cdad76236bd89c22 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 20 Apr 2021 16:31:57 +0530 Subject: [PATCH] add public roadmap to footer --- customize.dist/pages.js | 4 ++++ www/common/application_config_internal.js | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 251d4b597..f8d7ad15c 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -95,11 +95,14 @@ define([ Pages.versionString = "v4.4.0"; + // used for the about menu Pages.imprintLink = AppConfig.imprint ? footLink(imprintUrl, 'imprint') : undefined; Pages.privacyLink = footLink(AppConfig.privacy, 'privacy'); Pages.githubLink = footLink('https://github.com/xwiki-labs/cryptpad', null, 'GitHub'); Pages.docsLink = footLink('https://docs.cryptpad.fr', 'docs_link'); + Msg.home_roadmap = "Roadmap"; // XXX + Pages.roadmapLink = footLink(AppConfig.roadmap, 'home_roadmap'); Pages.infopageFooter = function () { var terms = footLink('/terms.html', 'footer_tos'); // FIXME this should be configurable like the other legal pages @@ -139,6 +142,7 @@ define([ footLink('/contact.html', 'contact'), footLink('https://github.com/xwiki-labs/cryptpad/wiki/Contributors', 'footer_team'), footLink('http://www.xwiki.com', null, 'XWiki SAS'), + Pages.roadmapLink, ]), legalFooter, ]) diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index 4cfe4e00a..ee4d82288 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -45,6 +45,11 @@ define(function() { */ // config.privacy = 'https://xwiki.com/en/company/PrivacyPolicy'; + /* XXX + * + */ + //config.roadmap = 'https://cryptpad.fr/kanban/#/2/kanban/view/PLM0C3tFWvYhd+EPzXrbT+NxB76Z5DtZhAA5W5hG9wo/'; // XXX + /* Cryptpad apps use a common API to display notifications to users * by default, notifications are hidden after 5 seconds * You can change their duration here (measured in milliseconds)