From 32eab0e7045889af5d567e9db1a847eb65f517d1 Mon Sep 17 00:00:00 2001 From: nickago Date: Thu, 3 Sep 2015 08:20:40 -0700 Subject: Added help text to channel notifications --- web/react/components/channel_notifications.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/react/components/channel_notifications.jsx') diff --git a/web/react/components/channel_notifications.jsx b/web/react/components/channel_notifications.jsx index 173646597..83067240d 100644 --- a/web/react/components/channel_notifications.jsx +++ b/web/react/components/channel_notifications.jsx @@ -162,6 +162,13 @@ export default class ChannelNotifications extends React.Component { e.preventDefault(); }.bind(this); + let curChannel = ChannelStore.get(this.state.channelId); + let extraInfo = (These settings will override the global notification settings); + + if (curChannel && curChannel.display_name) { + extraInfo = (These settings will override the global notification settings for the {curChannel.display_name} channel); + } + return ( ); } -- cgit v1.2.3-1-g7c22