X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fscroll_panels%2Fshow.html.erb;fp=app%2Fviews%2Fscroll_panels%2Fshow.html.erb;h=fa0c3a0b4f0aa2f4224fe3f701704ae7903ade59;hb=000b5d5ef4f3cf02793ae6a06855b7bd3cd9a78f;hp=0000000000000000000000000000000000000000;hpb=6c938eed3fda5fc01d2af0ea771a0b219b243e8b;p=pettanr%2Fpettanr.git diff --git a/app/views/scroll_panels/show.html.erb b/app/views/scroll_panels/show.html.erb new file mode 100644 index 00000000..fa0c3a0b --- /dev/null +++ b/app/views/scroll_panels/show.html.erb @@ -0,0 +1,41 @@ +

<%= t('.title') %>

+

<%= notice %>

+ +

+ <%= t_m 'Story.comic_id' -%>: + <%= link_to comic_icon(:object => @story.comic), comic_path(@story.comic) %> + <%= link_to h(@story.comic.title), :controller => 'stories', :action => :comic, :id => @story.comic.id %> +

+ +

+ <%= t_m 'Story.panel_id' -%>: + <%= link_to panel_icon(:object => @story.panel), panel_path(@story.panel) %> +

+ +

+ <%= t_m 'Story.t' -%>: + <%= @story.t %> +

+ +

+ <%= t_m 'Story.author_id' -%>: + <%= link_to author_icon(:object => @story.author), author_path(@story.author) %> + <%= link_to h(@story.author.name), author_path(@story.author) %> +

+ +

+ <%= t_m 'Story.created_at' -%>: + <%= l @story.created_at %> +

+ +

+ <%= t_m 'Story.updated_at' -%>: + <%= l @story.updated_at %> +

+<% if @story.own? @author -%> + <%= link_to t('link.edit'), edit_story_path(@story) %> + <%= link_to t('link.destroy'), story_path(@story), :method => :delete %> +<% end %> + +
+<%= render 'panels/standard', :panel => @story.panel, :author => @author %>