mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -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 () {
|
||||
var studioLink = '/studios/' + this.props.studioId + '/';
|
||||
var tabLink = '/studios/' + this.props.studioId + '/curators/';
|
||||
var actorLink = '/users/' + this.props.actorUsername + '/';
|
||||
var tabText = this.props.intl.formatMessage({id: 'messages.curatorTabText'});
|
||||
|
||||
|
@ -37,7 +38,7 @@ var CuratorInviteMessage = injectIntl(React.createClass({
|
|||
{this.props.actorUsername}
|
||||
</a>,
|
||||
studioLink: <a href={studioLink}>{this.props.studioTitle}</a>,
|
||||
tabLink: <a href={studioLink}>{tabText}</a>
|
||||
tabLink: <a href={tabLink}>{tabText}</a>
|
||||
}}
|
||||
/>
|
||||
</SocialMessage>
|
||||
|
|
Loading…
Reference in a new issue