Sha256: 1da83ed470791948aa092fb21d07390eb2b08fce4a644a06d506af8e17ad4f05

Contents?: true

Size: 929 Bytes

Versions: 5

Compression:

Stored size: 929 Bytes

Contents

<h1>Changes</h1>

<p class='changes_feed'><%= link_to 'Changes feed', changes_path(:format => 'atom') %></p>

<p>
  Show:
  <%= ([link_to('All', changes_path)] + change_item_types.map { |type| link_to(type.pluralize, changes_path(:type => type)) }).join(' | ').html_safe %>
</p>

<table class='changes_table'>
  <tfoot>
    <tr>
      <td colspan='2'>
        <%= paginate @versions %>
      </td>
    </tr>
  </tfoot>
  <thead>
    <tr class='changes_header'>
      <th class='change_time'>Time</th>
      <th class='change_details'>Attribute with previous and current values</th>
    </tr>
  </thead>
  <tbody>
    <% if @versions.any? %>
      <% @versions.each do |version| %>
        <% next unless change_show_allowed?(version) %>
        <%= render :partial => 'version', :object => version %>
      <% end %>
    <% else %>
      <td rowspan='2'> &mdash; No changes found &mdash; </td>
    <% end %>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
demingfactor-paper_trail_manager-0.7.3 app/views/paper_trail_manager/changes/index.html.erb
paper_trail_manager_rails_5-0.7.2 app/views/paper_trail_manager/changes/index.html.erb
paper_trail_manager_rails_5-0.7.1 app/views/paper_trail_manager/changes/index.html.erb
paper_trail_manager-0.6.0 app/views/paper_trail_manager/changes/index.html.erb
paper_trail_manager-0.5.0 app/views/paper_trail_manager/changes/index.html.erb