Merge branch 'MM-1302' of https://github.com/nickago/platform into mm-1302
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Этот коммит содержится в:
@@ -121,9 +121,12 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
var teamName = this.props.teamName ? this.props.teamName : config.SiteName;
|
var teamName = this.props.teamName ? this.props.teamName : config.SiteName;
|
||||||
|
var me = UserStore.getCurrentUser()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="team__header theme">
|
<div className="team__header theme">
|
||||||
|
<img className="profile-picture" src={"/api/v1/users/" + me.id + "/image?time=" + me.update_at} />
|
||||||
|
<span className="user_name">{me.username}</span>
|
||||||
<a className="team__name" href="/channels/town-square">{ teamName }</a>
|
<a className="team__name" href="/channels/town-square">{ teamName }</a>
|
||||||
<NavbarDropdown teamType={this.props.teamType} />
|
<NavbarDropdown teamType={this.props.teamType} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user