Sha256: 717a2fb483ebeafd7e5eb872e975e455f6e7d7e62ffa46b4755cde38fcf90ab4

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

<% add_decidim_page_title(t(".title")) %>
<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t ".title" %>
    </h2>
  </div>

  <div class="card-section">
    <div class="grid-x grid-margin-x card-grid">
    <% templates.each do |newsletter_template| %>
      <div class="cell small-6">
        <div class="card card--mini" id="<%= newsletter_template.name %>">
          <iframe src="<%= preview_newsletter_template_path(newsletter_template.name) %>" class="email-preview newsletter-template-preview">
          </iframe>

          <div class="card-footer">
            <h2 class="card-title">
              <%= t newsletter_template.public_name_key %>
              <%= link_to(t(".preview_template"), newsletter_template_path(newsletter_template.name), class: "button tiny button--title") %>
              <%= link_to(t(".use_template"), new_newsletter_template_newsletter_path(newsletter_template.name), class: "button tiny button--title") %>
            </h2>
          </div>
        </div>
      </div>
    <% end %>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-admin-0.27.9 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.27.8 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.27.7 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.27.6 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.26.10 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.26.9 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.27.5 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.26.8 app/views/decidim/admin/newsletter_templates/index.html.erb
decidim-admin-0.27.4 app/views/decidim/admin/newsletter_templates/index.html.erb