# 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.
Этот коммит содержится в:
Asaad Mahmood
2015-07-14 02:30:55 +05:00
родитель e38ea318a1
Коммит 0a166572c1

Просмотреть файл

@@ -121,9 +121,12 @@ module.exports = React.createClass({
},
render: function() {
var teamName = this.props.teamName ? this.props.teamName : config.SiteName;
var me = UserStore.getCurrentUser()
return (
<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>
<NavbarDropdown teamType={this.props.teamType} />
</div>