OSDN Git Service

w
[pettanr/pettanr.git] / app / views / stories / _list_item.html.erb
index 0d3eacf..4e9e7f4 100644 (file)
@@ -1,26 +1,23 @@
-<table class="no-border" style="margin: 0px; padding: 0px; width=100%">
   <tr>
     <td>
-      <div>
-        <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
-        <%= link_to h(story.comic.title), :controller => 'stories', :action => :comic, :id => story.comic.id %>
-      </div>
+      <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
+    </td>
+    <td>
+      <%= link_to h(story.comic.title), comic_path(story.comic) %>
+    </td>
+    <td>
       <%= link_to author_icon(:object => story.comic.author, :size => 17), author_path(story.comic.author) %>
     </td>
     <td>
-      <div>
-        <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
-        <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
-      </div>
-      <div>
-        No.<%= story.t %>
-        <%= l story.updated_at %>
-      </div>
+      <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
+    </td>
+    <td>
+      <%= link_to h(story.title), play_story_path(story) %>
+    </td>
+    <td>
+      No.<%= story.t %>
     </td>
     <td>
-      <% if story.panel %>
-        <%= render 'panels/standard', :panel => story.panel, :author => @author %>
-      <% end %>
+      <%= l story.updated_at %>
     </td>
   </tr>
-</table>