From c334541011f8c771418c67186e7baeca32b91731 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 26 Mar 2017 13:30:57 +0200 Subject: Add tooltip to privacy dropdown --- .../components/features/compose/components/privacy_dropdown.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx b/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx index 7bbf5aef2..e54fa4d28 100644 --- a/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx +++ b/app/assets/javascripts/components/features/compose/components/privacy_dropdown.jsx @@ -10,7 +10,8 @@ const messages = defineMessages({ private_short: { id: 'privacy.private.short', defaultMessage: 'Private' }, private_long: { id: 'privacy.private.long', defaultMessage: 'Post to followers only' }, direct_short: { id: 'privacy.direct.short', defaultMessage: 'Direct' }, - direct_long: { id: 'privacy.direct.long', defaultMessage: 'Post to mentioned users only' } + direct_long: { id: 'privacy.direct.long', defaultMessage: 'Post to mentioned users only' }, + change_privacy: { id: 'privacy.change', defaultMessage: 'Adjust status privacy' } }); const iconStyle = { @@ -79,7 +80,7 @@ const PrivacyDropdown = React.createClass({ return (
-
+
{options.map(item =>
-- cgit