OSDN Git Service

t#:
[pettanr/pettanr.git] / app / views / panels / _footer.html.erb
index b77c9ce..80ac22f 100644 (file)
@@ -1,21 +1,14 @@
 <table class="no-border">
   <tr>
     <td>
-      <%= link_to '■', panel_path(panel) %>
-    </td>
-    <td>
-      <%= link_to h(panel.author.name), author_path(panel.author) %>
-    </td>
-    <td>
-      <%= panel.width %>x<%= panel.height %>
-    </td>
-    <td>
-      <%= panel.updated_at %>
+      <%= link_to panel_icon(:object => panel, :size => 25), main_app.panel_path(panel) %>
+      <%= link_to author_icon(:object => panel.author, :size => 17), main_app.author_path(panel.author) %>
+      <%= l panel.updated_at %>
     </td>
     <td>
       <% if panel.own? author %>
-        <%= link_to 'edit', edit_panel_path(panel) %>
-        <%= link_to 'destroy', panel_path(panel), :method => :dellete %>
+        <%= link_to t('link.edit'), main_app.edit_panel_path(panel) %>
+        <%= link_to t('link.catch'), main_app.catch_panel_path(panel) %>
       <% end %>
     </td>
   </tr>