OSDN Git Service

temp
[pettanr/pettanr.git] / app / views / home / index.html.erb
index a55e5f0..3fc48ad 100644 (file)
@@ -1,19 +1,41 @@
 <h1><%= t '.title' -%></h1>
-
-<h2><%= link_to h(@author.name), main_app.author_path(@author) -%></h2>
-<h3><%= t('.updated_comic') -%></h3>
+<h2><%= link_to h(@operators.author.name), main_app.author_path(@operators.author) -%></h2>
+<h3><%= t('.updated_scroll') -%></h3>
 <table>
   <tr height="100px">
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('Comic'), '/home/comic' %>
+      <%= link_to t_m('Scroll'), '/home/scrolls' %>
+      <%= link_to t('*'), new_scroll_path %>
     </td>
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('Story'), '/home/story' %>
+      <%= link_to t_m('ScrollPanel'), '/home/scroll_panels' %>
+      <%= link_to t('*'), new_scroll_panel_path %>
     </td>
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('Panel'), '/home/panel' %>
+      <%= link_to t_m('Comic'), '/home/comics' %>
+      <%= link_to t('*'), new_comic_path %>
     </td>
     <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('Story'), '/home/stories' %>
+      <%= link_to t('*'), new_story_path %>
+    </td>
+  </tr>
+  <tr height="100px">
+    <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('StorySheet'), '/home/story_sheets' %>
+      <%= link_to t('*'), new_story_sheet_path %>
+    </td>
+    <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('Sheet'), '/home/sheets' %>
+      <%= link_to t('*'), new_sheet_path %>
+    </td>
+    <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('SheetPanel'), '/home/sheet_panels' %>
+      <%= link_to t('*'), new_sheet_panel_path %>
+    </td>
+    <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('Panel'), '/home/panels' %>
+      <%= link_to t('*'), new_panel_path %>
     </td>
   </tr>
 </table>
 <table>
   <tr height="100px">
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('PanelPicture'), '/home/panel_picture' %>
+      <%= link_to t_m('PanelPicture'), '/home/panel_pictures' %>
+    </td>
+    <td width="200px" align="center" valign="middle">
+      <%= link_to t_m('SpeechBalloon'), '/home/speech_balloons' %>
     </td>
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('GroundPicture'), '/home/ground_picture' %>
+      <%= link_to t_m('GroundPicture'), '/home/ground_pictures' %>
     </td>
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('GroundColor'), '/home/ground_color' %>
+      <%= link_to t_m('GroundColor'), '/home/ground_colors' %>
     </td>
     <td width="200px" align="center" valign="middle">
-      <%= link_to t_m('PanelColor'), '/home/panel_color' %>
     </td>
   </tr>
 </table>
-<% if @author.artist? -%>
-  <h2><%= link_to h(@artist.name), main_app.artist_path(@artist) -%></h2>
+<% if @operators.artist -%>
+  <h2><%= link_to h(@operators.artist.name), main_app.artist_path(@operators.artist) -%></h2>
   <h3><%= t('.updated_picture') -%></h3>
   <table>
     <tr height="100px">
       <td width="200px" align="center" valign="middle">
         <%= link_to t_m('OriginalPicture'), main_app.original_pictures_path %>
+        <%= link_to t('*'), new_original_picture_path %>
       </td>
       <td width="200px" align="center" valign="middle">
-        <%= link_to t_m('ResourcePicture'), '/home/resource_picture' %>
+        <%= link_to t_m('ResourcePicture'), '/home/resource_pictures' %>
       </td>
       <td width="200px" align="center" valign="middle">
         <%=  %>