mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-03 12:27:30 -05:00
have tab link go to curator tab
This commit is contained in:
parent
5772eed8f7
commit
432a6240aa
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ var CuratorInviteMessage = injectIntl(React.createClass({
|
||||||
},
|
},
|
||||||
render: function () {
|
render: function () {
|
||||||
var studioLink = '/studios/' + this.props.studioId + '/';
|
var studioLink = '/studios/' + this.props.studioId + '/';
|
||||||
|
var tabLink = '/studios/' + this.props.studioId + '/curators/';
|
||||||
var actorLink = '/users/' + this.props.actorUsername + '/';
|
var actorLink = '/users/' + this.props.actorUsername + '/';
|
||||||
var tabText = this.props.intl.formatMessage({id: 'messages.curatorTabText'});
|
var tabText = this.props.intl.formatMessage({id: 'messages.curatorTabText'});
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ var CuratorInviteMessage = injectIntl(React.createClass({
|
||||||
{this.props.actorUsername}
|
{this.props.actorUsername}
|
||||||
</a>,
|
</a>,
|
||||||
studioLink: <a href={studioLink}>{this.props.studioTitle}</a>,
|
studioLink: <a href={studioLink}>{this.props.studioTitle}</a>,
|
||||||
tabLink: <a href={studioLink}>{tabText}</a>
|
tabLink: <a href={tabLink}>{tabText}</a>
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</SocialMessage>
|
</SocialMessage>
|
||||||
|
|
Loading…
Reference in a new issue