about summary refs log tree commit diff
path: root/app/views/user_mailer/confirmation_instructions.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user_mailer/confirmation_instructions.text.erb')
-rw-r--r--app/views/user_mailer/confirmation_instructions.text.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.text.erb b/app/views/user_mailer/confirmation_instructions.text.erb
index 65b4626c6..aad91cd9d 100644
--- a/app/views/user_mailer/confirmation_instructions.text.erb
+++ b/app/views/user_mailer/confirmation_instructions.text.erb
@@ -2,7 +2,7 @@
 
 ===
 
-<%= t 'devise.mailer.confirmation_instructions.explanation', host: site_hostname %>
+<%= t @resource.approved? ? 'devise.mailer.confirmation_instructions.explanation' : 'devise.mailer.confirmation_instructions.explanation_when_pending', host: site_hostname %>
 
 => <%= confirmation_url(@resource, confirmation_token: @token, redirect_to_app: @resource.created_by_application ? 'true' : nil) %>