Sha256: 4930f7d2619d6a3b72c7cbe144406456551dcc5911eaa63f236d25f5c6791f54

Contents?: true

Size: 817 Bytes

Versions: 7

Compression:

Stored size: 817 Bytes

Contents

h1 = t '.list_title'

div class=rep_row_class
  - split_in_halves(@previews_by_class.keys) { |c| @previews_by_class[c].length }.each do |classes|
    div class=rep_col_class(6)
      - classes.map { |c| @previews_by_class[c] }.each do |previews|
        h2 = previews[0].group_name
        div class=rep_style[:list_group_class]
          - previews.each do |p|
            a class=rep_style[:list_group_item_class] href=rails_email_preview.rep_email_url(preview_id: p.id, email_locale: @email_locale)
              = p.method_name

hr
p.text-center.text-small.text-info
  | #{t 'rep.base.email', count: @previews.length} #{t 'rep.base.in'} #{t 'rep.base.mailer', count: @previews_by_class.values.length }
  br
  a href="https://github.com/glebm/rails_email_preview" target='_blank' REP #{RailsEmailPreview::VERSION}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_email_preview-0.2.21 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.20 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.19 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.18 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.17 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.16 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.15 app/views/rails_email_preview/emails/index.html.slim