Sha256: 89469aa0ac6bab5b86bbcc3c34941d10b92ef315291f4d8a3ad3238fcd263559

Contents?: true

Size: 1.02 KB

Versions: 76

Compression:

Stored size: 1.02 KB

Contents

<p class="email-greeting"><%= t("devise.mailer.invitation_instructions.hello", email: @resource.name) %></p>

<p class="email-instructions">
  <% if @resource.invited_by.present? %>
    <%= t("devise.mailer.invitation_instructions.invited_you_as_admin", invited_by: @resource.invited_by.name, application: @resource.organization.name) %>
  <% else %>
    <%= t("devise.mailer.invitation_instructions.someone_invited_you_as_admin", application: @resource.organization.name) %>
  <% end %>
</p>

<p class="email-button email-button__cta"><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: decidim_admin.root_path, host: @resource.organization.host) %></p>

<% if @resource.invitation_due_at %>
  <p class="email-small"><%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :long)) %></p>
<% end %>

<p class="email-small email-closing"><%= t("devise.mailer.invitation_instructions.ignore").html_safe %></p>

Version data entries

76 entries across 38 versions & 1 rubygems

Version Path
decidim-core-0.26.0.rc1 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.26.0.rc1 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.2 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.2 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.1 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.1 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.0 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0.rc4 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.0.rc4 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0.rc3 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.0.rc3 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0.rc2 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0.rc2 app/views/devise/mailer/invite_admin.html.erb
decidim-core-0.25.0.rc1 app/views/devise/mailer/invite_collaborator.html.erb
decidim-core-0.25.0.rc1 app/views/devise/mailer/invite_admin.html.erb