From f4d24b57fee5874fe4b2df929ec974392335316e Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 1 Apr 2016 23:09:49 +0500 Subject: Adding the build date and the build hash --- webapp/components/about_build_modal.jsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'webapp/components') diff --git a/webapp/components/about_build_modal.jsx b/webapp/components/about_build_modal.jsx index a47225f7e..011f3d063 100644 --- a/webapp/components/about_build_modal.jsx +++ b/webapp/components/about_build_modal.jsx @@ -109,6 +109,22 @@ export default class AboutBuildModal extends React.Component {
{config.BuildHash}
+
+

+ +  {config.BuildHash} +

+

+ +  {config.BuildDate} +

+
- ); } diff --git a/webapp/components/post.jsx b/webapp/components/post.jsx index 30c47ee22..bbf8d9bf6 100644 --- a/webapp/components/post.jsx +++ b/webapp/components/post.jsx @@ -129,6 +129,7 @@ export default class Post extends React.Component { const post = this.props.post; const parentPost = this.props.parentPost; const posts = this.props.posts; + const mattermostLogo = Constants.MATTERMOST_ICON_SVG; if (!post.props) { post.props = {}; @@ -191,8 +192,6 @@ export default class Post extends React.Component { } else { src = Constants.DEFAULT_WEBHOOK_LOGO; } - } else if (Utils.isSystemMessage(post)) { - src = Constants.SYSTEM_MESSAGE_PROFILE_IMAGE; } profilePic = ( @@ -202,6 +201,15 @@ export default class Post extends React.Component { width='36' /> ); + + if (Utils.isSystemMessage(post)) { + profilePic = ( + + ); + } } return ( -- cgit v1.2.3-1-g7c22