OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / sheet_panels / _list_item.html.erb
diff --git a/app/views/sheet_panels/_list_item.html.erb b/app/views/sheet_panels/_list_item.html.erb
new file mode 100644 (file)
index 0000000..3879017
--- /dev/null
@@ -0,0 +1,28 @@
+  <tr>
+    <td>
+      <%= link_to sheet_icon(:object => sheet_panel.sheet, :size => 25), sheet_path(sheet_panel.sheet) %>
+    </td>
+    <td>
+      <%= link_to h(sheet_panel.sheet.caption), play_sheet_path(sheet_panel.sheet) %>
+    </td>
+    <td>
+      <%= link_to author_icon(:object => sheet_panel.sheet.author, :size => 17), author_path(sheet_panel.sheet.author) %>
+    </td>
+    <td>
+      <%= link_to sheet_panel_icon(:object => sheet_panel, :size => 25), sheet_panel_path(sheet_panel) %>
+    </td>
+    <td>
+      <%= link_to author_icon(:object => sheet_panel.author, :size => 17), author_path(sheet_panel.author) %>
+    </td>
+    <td>
+      No.<%= sheet_panel.t %>
+    </td>
+    <td>
+      <%= l sheet_panel.updated_at %>
+    </td>
+    <td>
+      <% if sheet_panel.panel %>
+        <%= h sheet_panel.panel.caption %>
+      <% end %>
+    </td>
+  </tr>