OSDN Git Service

t#:
[pettanr/pettanr.git] / app / views / home / resource_pictures.html.erb
diff --git a/app/views/home/resource_pictures.html.erb b/app/views/home/resource_pictures.html.erb
deleted file mode 100644 (file)
index f3ee070..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<h1><%= t '.title' -%></h1>
-
-<table>
-  <tr>
-    <th></th>
-    <th></th>
-    <th><%= t_m 'ResourcePicture.artist_id' -%></th>
-    <th><%= t_m 'ResourcePicture.ext' -%></th>
-    <th><%= t_m 'ResourcePicture.width' -%></th>
-    <th><%= t_m 'ResourcePicture.height' -%></th>
-    <th><%= t_m 'ResourcePicture.filesize' -%></th>
-  </tr>
-<% @resource_pictures.each do |resource_picture| %>
-  <tr>
-    <td>
-      <%= link_to tag(:img, resource_picture.tmb_opt_img_tag), resource_picture_path(resource_picture) %>
-    </td>
-    <td>
-      <%= render resource_picture.credit_template, :picture => resource_picture %>
-    </td>
-    <td>
-      <%= link_to(h(truncate(resource_picture.artist.name, :length => 8)), artist_path(resource_picture.artist)) %>
-    </td>
-    <td>
-      <%= h resource_picture.ext %>
-    </td>
-    <td>
-      <%= resource_picture.width %>px
-    </td>
-    <td>
-      <%= resource_picture.height %>px
-    </td>
-    <td>
-      <%= resource_picture.filesize %>bytes
-    </td>
-  </tr>
-<% end %>
-</table>
-<%= paginate(@paginate) %>