Sha256: 278f57ef763cb6d58ff15d2db1e782d037f078cbe7c34b0ae5cd00eb556786fa

Contents?: true

Size: 1.04 KB

Versions: 62

Compression:

Stored size: 1.04 KB

Contents

- @page_title = t('workarea.admin.content_emails.email_content')

.view
  .view__header
    .view__heading
      = link_to "↑ #{t('workarea.admin.content_emails.marketing_dashboard')}", marketing_dashboards_path, class: 'view__dashboard-button'
      %h1= t('workarea.admin.content_emails.transactional_email_content')

  .view__container
    .browsing-controls.browsing-controls--with-divider
      .browsing-controls__count
        = t('workarea.admin.content_emails.transactional_email', count: @emails.count)

    - if @emails.any?
      %table.index-table
        %thead
          %tr
            %th= t('workarea.admin.content_emails.type')
            %th= t('workarea.admin.content_emails.email_content')
            %th.align-right= t('workarea.admin.content_emails.updated_at')
        %tbody
          - @emails.each do |email|
            %tr.index-table__row
              %td= link_to email.type.titleize, edit_content_email_path(email)
              %td= strip_tags(email.content)
              %td.align-right= local_time_ago(email.updated_at)

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/views/workarea/admin/content_emails/index.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/content_emails/index.html.haml