X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Fapplication.html.erb;h=64487ade41d8779da000470b33db23fa87a9e513;hb=31124ac1df4b11438308bb83525753b3e40e355a;hp=d65abeebeda72ba2c62af3aa2ab89df6e66c725b;hpb=f993240935f0ce37cd00ba66c4b2569931718df9;p=pettanr%2Fpettanr.git
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index d65abeeb..64487ade 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,403 +1,111 @@
-
-
+
+
-
-
-
- <%= yield %>
-
ã¯ã¤ãã¯ã¢ã¯ã»ã¹
-
æ°ããã³ããæã
-
æ°ããã³ããã¯ãã¤ãã
-
ç»åã®ã¢ãããã¼ã
-
座é·ããã®ãç¥ãã
-
ã¡ã³ããã³ã¹ã«ã¤ãã¦
-
-
-
-
+
+
+
+
+ <%= link_to manifest.magic_numbers['profile']['users']['caption'], main_app.root_path %>
+ |
+
+ <% if user_signed_in? %>
+ <%# link_to t('top.metro.title'), '/top/metro' %>
+ <% end %>
+ |
+
+
+ <% if @operators.author %>
+ <%= link_to h(truncate(@operators.author.name, :length => 12)), main_app.author_path(@operators.author) %>
+ <% end %>
+
+
+ <% if @operators.artist %>
+ <%= link_to h(truncate(@operators.artist.name, :length => 12)), main_app.artist_path(@operators.artist) %>
+ <% end %>
+
+ |
+
+ <% if user_signed_in? %>
+ <%= link_to t('home.configure.title'), '/home/configure' %>
+ <%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>
+ <% else %>
+ <%= link_to "sign in", main_app.new_user_session_path %>
+ <% end %>
+ |
+
+
+
+
+ <%= link_to t('tab.reader.title'), '/' %>
+ <%= link_to t_m('Comic'), main_app.comics_path %>
+ <%= link_to t_m('Scroll'), main_app.scrolls_path %>
+ <%= link_to t_m('Panel'), main_app.panels_path %>
+ <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>
+ <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %>
+ :
+ <%= link_to t_m('Author'), main_app.authors_path %>
+ <%= link_to t_m('Artist'), main_app.artists_path %>
+
+
+ <%= link_to t('tab.creator.home'), '/home' %>
+ <% if @operators.author %>
+ <%= link_to t('tab.creator.comic'), '/home/comics' %>
+ <%= link_to t('*'), main_app.new_comic_path %>
+ <%= link_to t('tab.creator.story'), '/home/stories' %>
+ <%= link_to t('tab.creator.sheet'), '/home/sheets' %>
+ <%= link_to t('*'), main_app.new_sheet_path %>
+ <%= link_to t('tab.creator.scroll'), '/home/scrolls' %>
+ <%= link_to t('*'), main_app.new_scroll_path %>
+ <%= link_to t('tab.creator.panel'), '/home/panels' %>
+ <%= link_to t('*'), main_app.new_panel_path %>
+ <% end -%>
+ <% if @operators.artist %>
+ <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>
+ <%= link_to t('*'), main_app.new_original_picture_path %>
+ <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>
+ <% end %>
+ <% if @operators.author and @operators.author.working? -%>
+ <%= link_to t('tab.creator..catch'), main_app.panel_path(@operators.author.working_panel) %>
+ <% end %>
+
+<%= yield %>
+
+ <%= link_to t('tab.demander.title'), main_app.demanders_path %>
+ <% if demand_user_signed_in? %>
+ <%= link_to t_m('Demander'), main_app.demanders_path %>
+ <%= link_to t('home.sign_out.title'), main_app.destroy_demand_user_session_path, :method => :delete %>
+ <% else %>
+ <%= link_to t('home.sign_in.title'), main_app.new_demand_user_session_path %>
+ <% end %>
+
+
+ <%= link_to t('tab.system.title'), '/system' %>
+ <% if admin_signed_in? %>
+ <%= link_to t('tab.system.browse'), '/system/browse' %>
+ <%= link_to t('tab.system.approve'), '/system/waiting_list' %>
+ <%= link_to t('tab.system.port'), '/system/import' %>
+ <%= link_to t('tab.system.token'), '/system/auth_token' %>
+ <%= link_to t('home.sign_out.title'), main_app.destroy_admin_session_path, :method => :delete %>
+ <% else %>
+ <%= link_to t('home.sign_in.title'), main_app.new_admin_session_path %>
+ <% end %>
+
+<%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>
-
-
-
Environment
-
-
-
Boot console in debug mode
-
- - xdomain json
- - use same domain json
-
-
-
Boot editor in debug mode
-
- - General Boot
- - Boot Editor
- - Reversible Image test
- - Backend is CSS3
- - Backend is VML
- - Backend is ActiveX
- - Balloon test
- - Vector Disabled
- - ActiveX test
- - ActiveX Enabled
- - ActiveX Disabled
- - Debug mode
- - Debug Enabled
- - Debug Disabled
-
-
-
XML + XSLT pages
-
-
- - help documents
- - jp.xml
- - xml test
- - itozyn's diary
- - other
- - sitemap.xml
-
-
-
-
-
-