mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Merge pull request #1242 from rizafahmi/fixing-invite-link
Add siteUrl in front of action link. The link is wrong
This commit is contained in:
commit
5fffd48103
2 changed files with 4 additions and 3 deletions
|
@ -69,7 +69,8 @@ Meteor.methods({
|
||||||
communityName : communityName,
|
communityName : communityName,
|
||||||
actionLink : user ? Telescope.utils.getSigninUrl() : Telescope.utils.getSignupUrl(),
|
actionLink : user ? Telescope.utils.getSigninUrl() : Telescope.utils.getSignupUrl(),
|
||||||
invitedBy : Users.getDisplayName(currentUser),
|
invitedBy : Users.getDisplayName(currentUser),
|
||||||
profileUrl : Users.getProfileUrl(currentUser)
|
profileUrl : Users.getProfileUrl(currentUser),
|
||||||
|
siteUrl: Settings.get("siteUrl")
|
||||||
};
|
};
|
||||||
|
|
||||||
Meteor.setTimeout(function () {
|
Meteor.setTimeout(function () {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
</span><br><br>
|
</span><br><br>
|
||||||
|
|
||||||
{{#if newUser}}
|
{{#if newUser}}
|
||||||
<a href="{{actionLink}}">Join {{communityName}}</a>
|
<a href="{{siteUrl}}{{actionLink}}">Join {{communityName}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{actionLink}}">Sign in to {{communityName}}</a>
|
<a href="{{siteUrl}}{{actionLink}}">Sign in to {{communityName}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
Loading…
Add table
Reference in a new issue