Sha256: f4b91a0e3e4f9f47f9e59d71074c6e81d340e3f8d766e25f5659554a81a920d3

Contents?: true

Size: 1.02 KB

Versions: 21

Compression:

Stored size: 1.02 KB

Contents

<% if @images.length > 0 %>
  <table class="index_table">
    <thead>
      <tr>
        <th>Thumbnail</th>
        <th>Flags</th>
        <th>Description</th>
        <th>Username</th>
        <th>All Tags</th>
        <th>Moderator</th>
        <th>Status</th>
      </tr>
    </thead>
    <% @images.each do |image| %>
      <tr class="flagged">
        <%= semantic_fields_for "image[#{image.id}]", image do |f| %>
            <td><%= link_to_large_admin_image(image) %></td>
            <td><%= image.flags.size %></td>
            <td><%= image.description %></td>
            <td><%= image.user.user_name %></td>
            <td><%= image.tags.map{|tag| tag.name}.join(' | ') %></td>
            <td><%= image.moderator.email if image.moderator %></td>
            <td><%= image.state_name %></td>
        <% end -%>
      </tr>
    <% end -%>
  </table>
  <div class="pagination"><%= paginate @images %></div>
<% else %>
  <div class="blank_slate_container">
    <span class="blank_slate">No Flagging History Found</span>
  </div>
<% end -%>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
lentil-0.5.2 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.5.1 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.5.0 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.4.2 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.4.0 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.3.1 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.3.0 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.2.3 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.2.2 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.2.1 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.2.0 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.8 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.7 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.6 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.3 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.2 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.1 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.1.0 app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.0.3.pre app/views/admin/lentil_images/flagging_history.html.erb
lentil-0.0.2.pre app/views/admin/lentil_images/flagging_history.html.erb