Commit 432a6240 authored by Matthew Taylor's avatar Matthew Taylor

have tab link go to curator tab

parent 5772eed8
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment