Sha256: 828d89ac0bfe2e5427445914d788a87b0a198601fb8bea011c244d5272e53d80

Contents?: true

Size: 673 Bytes

Versions: 14

Compression:

Stored size: 673 Bytes

Contents

<% @cell = cell(
  "decidim/newsletter_templates/basic_only_text",
  newsletter.template,
  organization: @organization,
  newsletter: newsletter,
  recipient_user: @user
) %>
<%= decidim_sanitize @cell.to_s %>

<% content_for :note do %>
  <%== t "note", scope: "decidim.newsletter_mailer.newsletter", organization_name: h(@organization.name), link: decidim.notifications_settings_url(host: @organization.host) %>
<% end %>

<% if @user.present? %>
  <% content_for :unsubscribe do %>
    <%== t "unsubscribe", scope: "decidim.newsletter_mailer.newsletter", link: decidim.unsubscribe_newsletters_url(host: @organization.host, u: @encrypted_token) %>
  <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-core-0.23.6 app/views/decidim/newsletters/show.html.erb
decidim-core-0.24.2 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.5 app/views/decidim/newsletters/show.html.erb
decidim-core-0.24.1 app/views/decidim/newsletters/show.html.erb
decidim-core-0.24.0 app/views/decidim/newsletters/show.html.erb
decidim-core-0.24.0.rc2 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.4 app/views/decidim/newsletters/show.html.erb
decidim-core-0.24.0.rc1 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.3 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.2 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.1 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.1.rc1 app/views/decidim/newsletters/show.html.erb
decidim-core-0.23.0 app/views/decidim/newsletters/show.html.erb
decidim-core-0.22.0 app/views/decidim/newsletters/show.html.erb