X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fstories%2Flist.html.erb;h=99d5442c4bcd2acc9efa985dc3d22c746b22b6ee;hb=4de70a43f48c9becfd180631289f7a4d480bb5b8;hp=6fae81c562430ed7470c8fe932b21257c82e0654;hpb=eb397c27a98c59c856b91a5b09d1316b1135a15c;p=pettanr%2Fpettanr.git diff --git a/app/views/stories/list.html.erb b/app/views/stories/list.html.erb index 6fae81c5..99d5442c 100644 --- a/app/views/stories/list.html.erb +++ b/app/views/stories/list.html.erb @@ -4,7 +4,7 @@ id comic_id - panel_id + title t author_id created_at @@ -16,7 +16,7 @@ <%= link_to story.id, :action => :browse, :id => story.id %> <%= story.comic_id %> - <%= story.panel_id %> + <%= h(truncate(h(story.title), :length => 10)) %> <%= story.t %> <%= link_to story.author_id, :controller => '/authors', :action => :browse, :id => story.author_id %> <%= story.created_at %>