5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 05:21:42 +00:00
panel/app/views/devise/mailer/invitation_instructions.text.haml

20 lines
563 B
Text
Raw Permalink Normal View History

2019-11-15 16:07:16 +00:00
- site = @resource.sites.last
2019-09-24 23:14:25 +00:00
= t('devise.mailer.invitation_instructions.hello', email: @resource.email)
\
= t('devise.mailer.invitation_instructions.someone_invited_you',
url: site.hostname)
\
= site.title
\
= site.description
\
2019-07-05 23:55:59 +00:00
= accept_invitation_url(@resource, invitation_token: @token)
2019-09-24 23:14:25 +00:00
\
2019-07-05 23:55:59 +00:00
- if @resource.invitation_due_at
2019-09-24 23:14:25 +00:00
= t('devise.mailer.invitation_instructions.accept_until',
due_date: l(@resource.invitation_due_at,
format: :'devise.mailer.invitation_instructions.accept_until_format'))
\
= t('devise.mailer.invitation_instructions.ignore')