diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-09 18:12:53 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-06-08 21:08:53 +0300 |
commit | 40b6d9064a2ab6c89cb54b62536fe2952c6cbca6 (patch) | |
tree | 118c635941d8e8dd0ea072e402921c2f4da58158 /app/views/devise | |
parent | e6daf1f899b412ded9a16674865b09f31fc7c75a (diff) |
Allow custom text on 'almost there' page
Add a new application setting, after_sign_up_text. This is text to be
rendered as Markdown and shown on the 'almost there' page after a user
signs up, but before they've confirmed their account.
Tweak the styles for that page so that centered lists look reasonable.
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/confirmations/almost_there.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/devise/confirmations/almost_there.haml b/app/views/devise/confirmations/almost_there.haml index 3c3830a3f10..73c3a3dd2eb 100644 --- a/app/views/devise/confirmations/almost_there.haml +++ b/app/views/devise/confirmations/almost_there.haml @@ -3,6 +3,9 @@ Almost there... %p.lead Please check your email to confirm your account +- if after_sign_up_text.present? + .well-confirmation.text-center + = markdown(after_sign_up_text) %p.confirmation-content.text-center No confirmation email received? Please check your spam folder or .append-bottom-20.prepend-top-20.text-center |