Sha256: 8f5308aff9ed9c67a736a2c009936c0bae2b4dd8a69cd477e2a44c8e242af605

Contents?: true

Size: 686 Bytes

Versions: 43

Compression:

Stored size: 686 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)) %></p>

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

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
blacklight-spotlight-1.5.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.4.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.4.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.3.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.2.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.1.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.0.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.0.0.alpha2 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-1.0.0.alpha1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.34.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.34.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.33.3 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.33.2 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.33.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.33.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.32.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.31.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.30.0 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.29.1 app/views/devise/mailer/invitation_instructions.html.erb
blacklight-spotlight-0.29.0 app/views/devise/mailer/invitation_instructions.html.erb