some email aesthetics
This commit is contained in:
parent
46b5c80f53
commit
2446940baf
2 changed files with 4 additions and 1 deletions
|
@ -66,6 +66,7 @@ postMediumR mediumId = do
|
||||||
<p>To follow the comment thread follow
|
<p>To follow the comment thread follow
|
||||||
<a href=#{link}>
|
<a href=#{link}>
|
||||||
this link
|
this link
|
||||||
|
.
|
||||||
|]
|
|]
|
||||||
setMessage "Your Comment has been posted"
|
setMessage "Your Comment has been posted"
|
||||||
redirect $ MediumR mediumId
|
redirect $ MediumR mediumId
|
||||||
|
@ -139,6 +140,7 @@ postCommentReplyR commentId = do
|
||||||
<p>To see the comment thread follow
|
<p>To see the comment thread follow
|
||||||
<a href=#{link}>
|
<a href=#{link}>
|
||||||
this link
|
this link
|
||||||
|
.
|
||||||
|]
|
|]
|
||||||
--send mail to medium owner
|
--send mail to medium owner
|
||||||
medium <- runDB $ getJust mediumId
|
medium <- runDB $ getJust mediumId
|
||||||
|
@ -151,6 +153,7 @@ postCommentReplyR commentId = do
|
||||||
<p>To see the comment thread follow
|
<p>To see the comment thread follow
|
||||||
<a href=#{link}>
|
<a href=#{link}>
|
||||||
this link
|
this link
|
||||||
|
.
|
||||||
|]
|
|]
|
||||||
setMessage "Your reply has been posted"
|
setMessage "Your reply has been posted"
|
||||||
redirect $ MediumR mediumId
|
redirect $ MediumR mediumId
|
||||||
|
|
|
@ -48,7 +48,7 @@ postSignupR = do
|
||||||
activateLink <- ($ ActivateR activatorText) <$> getUrlRender
|
activateLink <- ($ ActivateR activatorText) <$> getUrlRender
|
||||||
sendMail (userEmail newUser) "Please activate your account!" $
|
sendMail (userEmail newUser) "Please activate your account!" $
|
||||||
[shamlet|
|
[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:
|
To complete your sgnup please activate your account by visiting the following link:
|
||||||
<a href="#{activateLink}">#{activateLink}
|
<a href="#{activateLink}">#{activateLink}
|
||||||
|]
|
|]
|
||||||
|
|
Loading…
Reference in a new issue