OSDN Git Service

redraw page title
[pettanr/pettanr.git] / app / views / layouts / application.html.erb
index 49436c3..ffac6e3 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>\r
-<html>\r
+<html lang="<%= I18n.locale -%>">\r
 <head>\r
   <title>\r
     <% if @page_title %>\r
         <%= link_to "sign in", main_app.new_user_session_path %>\r
       <% end %>\r
       <br>\r
-          <%= link_to 'try ap', '/top/ap' %>\r
   </td>\r
   </tr>\r
 </table>\r
 </div>\r
-<div width="100%" style="background-color: #ddfadd; padding: 5px;">\r
-  <%= link_to t_m('Folder'), main_app.root_folders_path() %>\r
-  :\r
-  <%= link_to t('tab.reader.title'), '/' %>\r
-  <%= link_to t_m('Scroll'), main_app.scrolls_path %>\r
-  <%= link_to t_m('Panel'), main_app.panels_path %>\r
-  <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>\r
-  :\r
-  <%= link_to t('tab.creator.home'), '/home' %>\r
-  <% if @operators.author %>\r
-    <%= link_to t('tab.creator.scroll'), '/home/scrolls' %>\r
-    <%= link_to t('*'), main_app.new_scroll_path %>\r
-    <%= link_to t('tab.creator.panel'), '/home/panels' %>\r
-    <%= link_to t('*'), main_app.new_panel_path %>\r
-  <% end -%>\r
-  <% if @operators.artist %>\r
-    <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>\r
-    <%= link_to t('*'), main_app.new_original_picture_path %>\r
-    <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>\r
-  <% end %>\r
-</div>\r
 <%= yield %>\r
 <div width="100%" style="background-color: #faddfa; padding: 5px;">\r
   <%= link_to t('tab.demander.title'), main_app.demanders_path %>\r