From 371b1e04eb892109cd44f18230e0247dc5aabe43 Mon Sep 17 00:00:00 2001 From: nickago Date: Wed, 5 Aug 2015 10:38:40 -0700 Subject: Changes the word channel to group for priavte groups --- web/react/components/channel_header.jsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'web/react/components/channel_header.jsx') diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index b6182cfa5..dbfe39015 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -175,6 +175,11 @@ module.exports = React.createClass({ } } + var channelTerm = 'Channel'; + if (channel.type === 'P') { + channelTerm = 'Group'; + } + return ( @@ -196,18 +201,18 @@ module.exports = React.createClass({
  • Manage Members
  • : null } -
  • Set Channel Description...
  • +
  • Set {channelTerm} Description...
  • Notification Preferences
  • {isAdmin && !ChannelStore.isDefault(channel) ? -
  • Rename Channel...
  • +
  • Rename {channelTerm}...
  • : null } {isAdmin && !ChannelStore.isDefault(channel) ? -
  • Delete Channel...
  • +
  • Delete {channelTerm}...
  • : null } {!ChannelStore.isDefault(channel) ? -
  • Leave Channel
  • +
  • Leave {channelTerm}
  • : null } -- cgit v1.2.3-1-g7c22