OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / scroll_panels / _list_item.html.erb
diff --git a/app/views/scroll_panels/_list_item.html.erb b/app/views/scroll_panels/_list_item.html.erb
new file mode 100644 (file)
index 0000000..1b18f0f
--- /dev/null
@@ -0,0 +1,28 @@
+  <tr>
+    <td>
+      <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
+    </td>
+    <td>
+      <%= link_to h(story.comic.title), :controller => 'stories', :action => :comic, :id => story.comic.id %>
+    </td>
+    <td>
+      <%= link_to author_icon(:object => story.comic.author, :size => 17), author_path(story.comic.author) %>
+    </td>
+    <td>
+      <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
+    </td>
+    <td>
+      <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
+    </td>
+    <td>
+      No.<%= story.t %>
+    </td>
+    <td>
+      <%= l story.updated_at %>
+    </td>
+    <td>
+      <% if story.panel %>
+        <%= h story.panel.caption %>
+      <% end %>
+    </td>
+  </tr>