From 1fd26d25f291cae2d93bb5aac3448e76a3200646 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Thu, 20 Aug 2015 19:22:56 +0500 Subject: Multiple UI Improvements --- web/react/components/post_list.jsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'web/react/components/post_list.jsx') diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index 8b60f0251..67a69985f 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -75,6 +75,7 @@ module.exports = React.createClass({ utils.changeCss('.mention-link', 'color: ' + user.props.theme + ';'); utils.changeCss('@media(max-width: 768px){.search-bar__container', 'background: ' + user.props.theme + ';}'); utils.changeCss('.search-item-container:hover', 'background: ' + utils.changeOpacity(user.props.theme, 0.05) + ';'); + utils.changeCss('.nav-pills__unread-indicator', 'background: ' + utils.changeOpacity(user.props.theme, 0.05) + ';'); } if (user.props.theme !== '#000000' && user.props.theme !== '#585858') { @@ -377,8 +378,8 @@ module.exports = React.createClass({

- {'This is the start of your private message history with ' + teammateName + '.'}
- {'Private messages and files shared here are not shown to people outside this area.'} + This is the start of your private message history with {teammateName}.
+ Private messages and files shared here are not shown to people outside this area.

Set a description @@ -416,9 +417,9 @@ module.exports = React.createClass({

Beginning of {uiName}

- Welcome to {uiName}! + Welcome to {uiName}!

- {'This is the first channel ' + strings.Team + 'mates see when they'} + This is the first channel {strings.Team} mates see when they
sign up - use it for posting updates everyone needs to know.

@@ -434,7 +435,7 @@ module.exports = React.createClass({

Beginning of {uiName}

- {'This is the start of ' + uiName + ', a channel for non-work-related conversations.'} + This is the start of {uiName}, a channel for non-work-related conversations.

Set a description @@ -453,7 +454,7 @@ module.exports = React.createClass({ var createMessage; if (creatorName !== '') { - createMessage = 'This is the start of the ' + uiName + ' ' + uiType + ', created by ' + creatorName + ' on ' + utils.displayDate(channel.create_at) + '.'; + createMessage = (This is the start of the {uiName} {uiType} created by {creatorName} on {utils.displayDate(channel.create_at)}); } else { createMessage = 'This is the start of the ' + uiName + ' ' + uiType + ', created on ' + utils.displayDate(channel.create_at) + '.'; } -- cgit v1.2.3-1-g7c22