OSDN Git Service

t#32331:fix menu
authoryasushiito <yas@pen-chan.jp>
Sat, 26 Oct 2013 00:33:16 +0000 (09:33 +0900)
committeryasushiito <yas@pen-chan.jp>
Sat, 26 Oct 2013 00:33:16 +0000 (09:33 +0900)
app/views/home/index.html.erb
app/views/layouts/test.html.erb

index 1bd720e..2c6dd4e 100644 (file)
@@ -5,29 +5,37 @@
   <tr height="100px">
     <td width="200px" align="center" valign="middle">
       <%= 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('ScrollPanel'), '/home/scroll_panels' %>
+      <%= link_to t('*'), new_scroll_panel_path %>
     </td>
     <td width="200px" align="center" valign="middle">
       <%= 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>
@@ -57,6 +65,7 @@
     <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_pictures' %>
index 6e89624..5236cfd 100644 (file)
   <div width="100%" style="background-color: #fadddd; padding: 5px;">\r
     <%= link_to t('tab.creator.home'), '/home' %>\r
     <%= link_to t('tab.creator.comic'), '/home/comics' %>\r
+    <%= link_to t('*'), new_comic_path %>\r
     <%= link_to t('tab.creator.story'), '/home/stories' %>\r
     <%= link_to t('tab.creator.sheet'), '/home/sheets' %>\r
+    <%= link_to t('*'), new_sheet_path %>\r
     <%= link_to t('tab.creator.scroll'), '/home/scrolls' %>\r
+    <%= link_to t('*'), new_scroll_path %>\r
     <%= link_to t('tab.creator.panel'), '/home/panels' %>\r
+    <%= link_to t('*'), new_panel_path %>\r
     <% if @artist %>\r
       <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>\r
+      <%= link_to t('*'), new_original_picture_path %>\r
       <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>\r
     <% end %>\r
     <% if @author and @author.working? -%>\r