Sha256: b21d43129f015c631ab8ee0a126f4a229b1765b0e0556bba9bb10419209be754

Contents?: true

Size: 645 Bytes

Versions: 42

Compression:

Stored size: 645 Bytes

Contents

- content_for :site_settings_content do
  %h2 Changelog

  %table.table.newsletter-versions
    %thead
      %tr
        %th Newsletter Into Copy
        %th Date
    %tbody
      - if @versions.empty?
        %tr.empty
          %td{colspan: '2'}
            No revisions

      - @versions.each do |version|
        - if version.changeset.keys.include?("weekly_newsletter_intro_copy")
          - changes = version.changeset["weekly_newsletter_intro_copy"]
          - old_val = changes[0]

          - if old_val.present?
            %tr
              %td= old_val
              %td= version.created_at.to_s(:slashes)

  = paginate @versions

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
virgo-0.3.17 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.16 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.15 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.14 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.13 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.12 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.11 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.10 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.9 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.8 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.7 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.6 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.4 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.3 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.2 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3.1 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.3 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.2.9 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.2.8 app/views/virgo/admin/newsletters/changelog.haml
virgo-0.2.7 app/views/virgo/admin/newsletters/changelog.haml