diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/controls/editor/collaborators.ejs | 21 | ||||
| -rw-r--r-- | views/mail/collaborator.html.ejs | 20 | ||||
| -rw-r--r-- | views/mail/collaborator.text.ejs | 7 | ||||
| -rw-r--r-- | views/mail/welcome.text.ejs | 2 |
4 files changed, 49 insertions, 1 deletions
diff --git a/views/controls/editor/collaborators.ejs b/views/controls/editor/collaborators.ejs new file mode 100644 index 0000000..448b6d4 --- /dev/null +++ b/views/controls/editor/collaborators.ejs @@ -0,0 +1,21 @@ +<div class="collaborators fixed animate"> + <span class="close">X</span> + + <ul id="collaborator-list"> + <li> + <div class="avatar"></div> + <span class="username"></span> + <button class="remove-user">Remove</button> + </li> + </ul> + + <div> + To invite others to contribute to this project, submit their email address below. They'll receive an email with instructions to join this blog and register if they're not a Vvalls user yet. + </div> + + <form> + <input type="text" id="collaborator-email"> + <button id="collaborator-invite">Invite to this project</button> + </form> + +</div> diff --git a/views/mail/collaborator.html.ejs b/views/mail/collaborator.html.ejs new file mode 100644 index 0000000..5621c1e --- /dev/null +++ b/views/mail/collaborator.html.ejs @@ -0,0 +1,20 @@ +<html> +<body> + +<p> + <a href="http://vvalls.com/"><img src="http://vvalls.com/img/logo.svg"></a> +</p> + +<p> + <a href="http://vvalls.com/profile/[[- username ]]">[[- username ]]</a> has invited you to join the project + <a href="http://vvalls.com/project/[[- projectSlug ]]">[[- projectName ]]</a> on Vvalls. +</p> + +<p> + Accept the invitation below: +</p> + +<a href="http://vvalls.com/join/[[- nonce ]]">Join Project</a> + +</body> +</html> diff --git a/views/mail/collaborator.text.ejs b/views/mail/collaborator.text.ejs new file mode 100644 index 0000000..52d39b6 --- /dev/null +++ b/views/mail/collaborator.text.ejs @@ -0,0 +1,7 @@ + +[[- username ]] has invited you to join the project [[- projectName ]] on Vvalls. + +Accept the invitation below: + +http://vvalls.com/join/[[- nonce ]] + diff --git a/views/mail/welcome.text.ejs b/views/mail/welcome.text.ejs index cab9c15..02b449b 100644 --- a/views/mail/welcome.text.ejs +++ b/views/mail/welcome.text.ejs @@ -1,4 +1,4 @@ Welcome to Vvalls, [[- username ]] -http://www.posthang.com +http://www.vvalls.com |
