diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-06-14 22:53:47 +0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-14 13:53:47 -0400 |
commit | f6b4a611d0ef28d5f08959a51c31ad480df1883a (patch) | |
tree | 5adeac68d78fe59cb6f7731cc953faec4bbc77df /webapp/components/post_view | |
parent | af4110b2ed9654986c8ef150d7ca9e76f326191c (diff) | |
download | chat-f6b4a611d0ef28d5f08959a51c31ad480df1883a.tar.gz chat-f6b4a611d0ef28d5f08959a51c31ad480df1883a.tar.bz2 chat-f6b4a611d0ef28d5f08959a51c31ad480df1883a.zip |
Multiple UI improvements (#3317)
Removing break all
Replacing jquery selectors and some other UI improvements
Removing jquery selector
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r-- | webapp/components/post_view/components/post_header.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_header.jsx b/webapp/components/post_view/components/post_header.jsx index 6e54e57e7..cc6bab852 100644 --- a/webapp/components/post_view/components/post_header.jsx +++ b/webapp/components/post_view/components/post_header.jsx @@ -26,6 +26,7 @@ export default class PostHeader extends React.Component { /> ); let botIndicator; + let colon; if (post.props && post.props.from_webhook) { if (post.props.override_username && global.window.mm_config.EnablePostUsernameOverride === 'true') { @@ -50,9 +51,13 @@ export default class PostHeader extends React.Component { ); } + if (this.props.compactDisplay) { + colon = (<strong>{':'}</strong>); + } + return ( <ul className='post__header'> - <li className='col col__name'>{userProfile}</li> + <li className='col col__name'>{userProfile}{colon}</li> {botIndicator} <li className='col'> <PostInfo |