summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-06-14 22:53:47 +0500
committerJoram Wilander <jwawilander@gmail.com>2016-06-14 13:53:47 -0400
commitf6b4a611d0ef28d5f08959a51c31ad480df1883a (patch)
tree5adeac68d78fe59cb6f7731cc953faec4bbc77df /webapp/components/post_view
parentaf4110b2ed9654986c8ef150d7ca9e76f326191c (diff)
downloadchat-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.jsx7
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