From 41a36e2e1877b4a2ab6751c011e80582f8ccbcf2 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Wed, 23 May 2018 01:14:52 +0200 Subject: Add privacy and ToS links To be GDPR compliant we need to provide privacy statement. These should be linked on the index page. So as soon as a document exist under `public/docs/privacy.md` the link will show up. Since we already add legal links, we also add Terms of Use, which will show up as soon as `public/docs/terms-of-use.md` exists. This should allow everyone to provide the legal documents they need for GDPR and other privacy and business laws. Signed-off-by: Sheogorath --- public/views/index/body.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/views/index/body.ejs') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index d8766fec..e3a3a85c 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -147,7 +147,7 @@

- © 2018 HackMD | <%= __('Releases') %> + © 2018 HackMD | <%= __('Releases') %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %>

<%- __('Follow us on %s and %s.', ' GitHub, Twitter', ' Facebook') %> -- cgit v1.2.3 From 9fd09a8dfb8c59a44e9b2b51658e9e638a855635 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 25 May 2018 17:03:35 +0200 Subject: Add delete user UI This provides the UI for the delete user feature introduced in 4229084c6211db3d22cd9abec99b957725650b9e Placing of the user delete button is not perfect, but can be moved to an own user tab later on. Signed-off-by: Sheogorath --- public/views/index/body.ejs | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'public/views/index/body.ejs') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index e3a3a85c..d4350540 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -27,6 +27,7 @@ @@ -108,7 +109,7 @@ - + @@ -157,8 +158,8 @@ - - -- cgit v1.2.3 From 75f28ca7f3600ab6483f38ad47a0c8430858f5c3 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 26 May 2018 03:19:10 +0200 Subject: Add export data UI This adds the UI for the export feature introduced in bcbb8c67c9f8092643c318140f6613324f306bd2 It allows to download all notes from the main page in the default user submenu. Signed-off-by: Sheogorath --- public/views/index/body.ejs | 1 + 1 file changed, 1 insertion(+) (limited to 'public/views/index/body.ejs') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index f28ab11d..a7c5a0b8 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -27,6 +27,7 @@ -- cgit v1.2.3