Files
danbooru/app/views/uploads/index.html.erb
2013-04-04 18:56:03 -04:00

35 lines
951 B
Plaintext

<div id="c-uploads">
<div id="a-index">
<table width="100%" class="striped">
<thead>
<tr>
<th></th>
<th>Uploader</th>
<th>Status</th>
<th>Date</th>
<th>Tags</th>
</tr>
</thead>
<tbody>
<% @uploads.each do |upload| %>
<tr>
<td><%= link_to upload.id, upload_path(upload) %></td>
<td><%= link_to upload.uploader.name, user_path(upload.uploader), { :class => upload.uploader.level_class } %></td>
<td><%= upload.presenter.status(self) %></td>
<td><%= compact_time upload.created_at %></td>
<td><%= upload.tag_string %></td>
</tr>
<% end %>
</tbody>
</table>
<%= numbered_paginator(@uploads) %>
</div>
</div>
<%= render "posts/partials/common/secondary_links" %>
<% content_for(:page_title) do %>
Uploads - <%= Danbooru.config.app_name %>
<% end %>