From 3893ff1604cf41682413444671c595803619a8bd Mon Sep 17 00:00:00 2001 From: shel Date: Sat, 11 Feb 2017 16:47:01 -0500 Subject: Add privacy disclaimer Add variable for text of privacy disclaimer --- app/assets/javascripts/components/locales/en.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/assets/javascripts/components/locales/en.jsx b/app/assets/javascripts/components/locales/en.jsx index ac1c1a7d5..d1357227e 100644 --- a/app/assets/javascripts/components/locales/en.jsx +++ b/app/assets/javascripts/components/locales/en.jsx @@ -41,6 +41,7 @@ const en = { "compose_form.sensitive": "Mark media as sensitive", "compose_form.spoiler": "Hide text behind warning", "compose_form.private": "Mark as private", + "compose_form.privacy_disclaimer": "Warning: Private posts are not encrypted, and could be read or boosted by instances or people who do not respect post privacy. This is not true privacy. Do not post senstive information." "compose_form.unlisted": "Do not display in public timeline", "navigation_bar.edit_profile": "Edit profile", "navigation_bar.preferences": "Preferences", -- cgit From 968fae26035e03304b620079271b2b65628fb7ef Mon Sep 17 00:00:00 2001 From: shel Date: Sat, 11 Feb 2017 17:42:19 -0500 Subject: Add privacy disclaimer I haven't had a chance to test this, because I don't currently have a fully functioning computer I can set up a dev-environment on, but this *should* make it so when a user toggles a post to be private, a disclaimer appears clarifying what "private" really means. --- .../components/features/compose/components/compose_form.jsx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app') diff --git a/app/assets/javascripts/components/features/compose/components/compose_form.jsx b/app/assets/javascripts/components/features/compose/components/compose_form.jsx index 46b62964a..8019382cd 100644 --- a/app/assets/javascripts/components/features/compose/components/compose_form.jsx +++ b/app/assets/javascripts/components/features/compose/components/compose_form.jsx @@ -175,6 +175,13 @@ const ComposeForm = React.createClass({ + + + + } + {({ opacity, height }) => -- cgit