Sha256: bbe13da0786585668576eacb02b426dc69a52a43489e23c1650aac1793b9a977

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 Bytes

Contents

<%= decidim_sanitize cell.to_s %>

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

<% content_for :unsubscribe do %>
  <%== t ".unsubscribe", link: decidim.unsubscribe_newsletters_url(host: @organization.host, u: @encrypted_token ) %>
<% end %>

<% content_for :see_on_website do %>
  <center style="display: none">
    <%== CGI.unescapeHTML truncate(cell.body, max_length: 50) %>
  </center>
  <%== t ".see_on_website", link: decidim.newsletter_url(host: @organization.host, id: @newsletter) %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-core-0.23.1 app/views/decidim/newsletter_mailer/newsletter.html.erb
decidim-core-0.23.1.rc1 app/views/decidim/newsletter_mailer/newsletter.html.erb
decidim-core-0.23.0 app/views/decidim/newsletter_mailer/newsletter.html.erb
decidim-core-0.22.0 app/views/decidim/newsletter_mailer/newsletter.html.erb