From 835487d7c6fffd0e2efc099d35b7f6c28a067ccb Mon Sep 17 00:00:00 2001 From: yasushiito Date: Thu, 22 Nov 2012 08:28:15 +0900 Subject: [PATCH] t#30102#30122:update i18n index --- app/views/ground_colors/_list_item.html.erb | 14 ++++++++++++++ app/views/stories/index.html.erb | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 app/views/ground_colors/_list_item.html.erb create mode 100644 app/views/stories/index.html.erb diff --git a/app/views/ground_colors/_list_item.html.erb b/app/views/ground_colors/_list_item.html.erb new file mode 100644 index 00000000..337ea40c --- /dev/null +++ b/app/views/ground_colors/_list_item.html.erb @@ -0,0 +1,14 @@ + + ; background-color: #<%= format("%06x", ground_color.color.code) -%>;"> + <%= h ground_color.color.name %> + + + <%= link_to ground_color.panel_id, panel_path(ground_color.panel) %> + + + <%= ground_color.z %> + + + <%= distance_of_time_in_words_to_now ground_color.updated_at %> + + diff --git a/app/views/stories/index.html.erb b/app/views/stories/index.html.erb new file mode 100644 index 00000000..da8cdb85 --- /dev/null +++ b/app/views/stories/index.html.erb @@ -0,0 +1,4 @@ +

<%= t '.title' -%>

+<% @stories.each do |story| %> + <%= render 'panels/standard', :panel => story.panel, :author => @author %> +<% end %> -- 2.11.0