forked from winsleague/winsleague
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start sending enrollment mail on account creation * new homepage messaging and dashboard layout * fixed email template
- Loading branch information
Showing
8 changed files
with
51 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,11 @@ Accounts.emailTemplates.siteName = 'Wins League'; | |
Accounts.emailTemplates.from = 'Wins League <[email protected]>'; | ||
|
||
Accounts.emailTemplates.enrollAccount.subject = (user) => | ||
`Welcome to Wins League, ${user.profile.name}`; | ||
'Welcome to Wins League'; | ||
|
||
Accounts.emailTemplates.enrollAccount.text = (user, url) => | ||
`You have registered for Wins League! | ||
`Wins League is a simple form fantasy sports, but just as much fun. | ||
To activate your account, simply click the link below: | ||
${url}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<template name="intro"> | ||
<h2 class="home">Simple Fantasy Sports</h2> | ||
|
||
<h3>How it works</h3> | ||
<h3 class="home">Simple fantasy sports</h3> | ||
<ol> | ||
<li>Each player drafts a set of teams.</li> | ||
<li>You and your friends each draft a set of teams.</li> | ||
<li>Follow your teams and their stats throughout the season.</li> | ||
<li>Whoever has the most total wins by the end is crowned champion!</li> | ||
</ol> | ||
<br/> | ||
|
||
<a class="btn btn-primary" href="{{pathFor 'Pools.new'}}">Create Pool</a> | ||
<a class="btn btn-primary" href="/sign-up">Create Pool</a> | ||
|
||
<a class="btn btn-default" href="/pools/6Z6QJMFvcgQ2PALsS/seasons/t6bHBR34se99MXgdi">View Demo</a> | ||
|
||
<br/><br/> | ||
|
||
Inspired by Bill Simmons and his post on <a href="http://grantland.com/the-triangle/you-should-have-an-nfl-wins-pool/">Grantland</a>. | ||
|
||
<a class="btn btn-default" href="/pools/6Z6QJMFvcgQ2PALsS">View Demo</a> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,5 +30,6 @@ | |
</div> | ||
<div class="container"> | ||
{{> Template.dynamic template=content}} | ||
<br/><br/> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters