some email aesthetics

This commit is contained in:
nek0 2014-12-08 06:27:28 +01:00
parent 46b5c80f53
commit 2446940baf
2 changed files with 4 additions and 1 deletions

View file

@ -66,6 +66,7 @@ postMediumR mediumId = do
<p>To follow the comment thread follow
<a href=#{link}>
this link
.
|]
setMessage "Your Comment has been posted"
redirect $ MediumR mediumId
@ -139,6 +140,7 @@ postCommentReplyR commentId = do
<p>To see the comment thread follow
<a href=#{link}>
this link
.
|]
--send mail to medium owner
medium <- runDB $ getJust mediumId
@ -151,6 +153,7 @@ postCommentReplyR commentId = do
<p>To see the comment thread follow
<a href=#{link}>
this link
.
|]
setMessage "Your reply has been posted"
redirect $ MediumR mediumId

View file

@ -48,7 +48,7 @@ postSignupR = do
activateLink <- ($ ActivateR activatorText) <$> getUrlRender
sendMail (userEmail newUser) "Please activate your account!" $
[shamlet|
<h1> Welcome to Eidolon!
<h1>Hello #{userSlug newUser} and Welcome to Eidolon!
To complete your sgnup please activate your account by visiting the following link:
<a href="#{activateLink}">#{activateLink}
|]