From d5da26a6f028740c2f68d30d88e2947db37e0efc Mon Sep 17 00:00:00 2001
From: yasushiito
+ <%= link_to t('authors.show.to_stories'), stories_author_path(@au) %> +
+ +<%= link_to t('authors.show.to_panels'), panels_author_path(@au) %>
diff --git a/app/views/authors/stories.html.erb b/app/views/authors/stories.html.erb new file mode 100644 index 00000000..47e0cac3 --- /dev/null +++ b/app/views/authors/stories.html.erb @@ -0,0 +1,8 @@ +
-
- <%= 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 %>
-
+ <%= 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 %> + | +<%= link_to author_icon(:object => story.comic.author, :size => 17), author_path(story.comic.author) %> |
-
- <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
- <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
-
-
- No.<%= story.t %>
- <%= l story.updated_at %>
-
+ <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
+ |
+ + <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %> + | ++ No.<%= story.t %> + | ++ <%= l story.updated_at %> | <% if story.panel %> - <%= render 'panels/standard', :panel => story.panel, :author => @author %> + <%= h story.panel.caption %> <% end %> |