OSDN Git Service

t#:
[pettanr/pettanr.git] / app / views / panels / _footer.html.erb
index b1c8efc..80ac22f 100644 (file)
@@ -1,10 +1,15 @@
 <table class="no-border">
   <tr>
     <td>
-      <%= panel.width %>x<%= panel.height %>
+      <%= 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>
-      <%= panel.updated_at %>
+      <% if panel.own? author %>
+        <%= 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>
 </table>