diff --git a/web/react/components/mention.jsx b/web/react/components/mention.jsx index f1292c743c..3c33ddf493 100644 --- a/web/react/components/mention.jsx +++ b/web/react/components/mention.jsx @@ -6,10 +6,16 @@ module.exports = React.createClass({ this.props.handleClick(this.props.username); }, render: function() { + var icon; + if (this.props.id != null) { + icon = ; + } else { + icon = ; + } return (
- - @{this.props.username}{this.props.secondary_text} +
{icon}
+
@{this.props.username}{this.props.secondary_text}
); } diff --git a/web/sass-files/sass/partials/_mentions.scss b/web/sass-files/sass/partials/_mentions.scss index cb6ff16c55..ee254b5462 100644 --- a/web/sass-files/sass/partials/_mentions.scss +++ b/web/sass-files/sass/partials/_mentions.scss @@ -56,3 +56,8 @@ .mention-link { color:$primary-color; } + +.mention-align { + position:relative; + top:5px; +}