Sha256: 3b557bb8ef5ed469eb18f5ac54badbc56d70707c34eb54cf3b251b1312c09e20

Contents?: true

Size: 705 Bytes

Versions: 65

Compression:

Stored size: 705 Bytes

Contents

<%
  key = if @resource.roles.first.resource.is_a?(Spotlight::Site)
    'exhibits_admin_invitation_mailer'
  else
    'invitation_mailer'
  end
%>
<p><%= t("spotlight.#{key}.invitation_instructions.hello", email: @resource.email) %></p>

<p><%= t("spotlight.#{key}.invitation_instructions.someone_invited_you", role: @resource.roles.first.role, exhibit_name: @resource.roles.first.resource.title, url: spotlight.exhibit_home_page_url(@resource.roles.first.resource, locale: nil)) %></p>

<p><%= link_to t("spotlight.#{key}.invitation_instructions.accept_invitation"), accept_invitation_url(@resource, :invitation_token => @token) %></p>

<p><%= t("spotlight.#{key}.invitation_instructions.ignore") %></p>

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
blacklight-spotlight-4.7.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.6.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.6.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.5.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.4.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.6 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.5 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.4 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.3 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.2 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.3.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.2.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.1.2 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.1.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.1.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.0.3 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.0.2 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.0.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-4.0.0 app/views/devise/mailer/invitation_instructions.html.erb