8 <%= t("#{params[:controller]}.#{params[:action]}.title") %>
\r
10 - <%= h(manifest.magic_numbers['profile']['users']['caption']) %>
\r
12 <%= stylesheet_link_tag "application" %>
\r
13 <%= javascript_include_tag "application" %>
\r
14 <%= raw panel_editor_javascript_include_tags %>
\r
15 <%= csrf_meta_tags %>
\r
20 <table class="no-border">
\r
23 <h3><%= link_to manifest.magic_numbers['profile']['users']['caption'], main_app.root_path %></h3>
\r
26 <% if user_signed_in? %>
\r
27 <%# link_to t('top.metro.title'), '/top/metro' %>
\r
32 <% if @operators.author %>
\r
33 <%= link_to h(truncate(@operators.author.name, :length => 12)), main_app.author_path(@operators.author) %>
\r
37 <% if @operators.artist %>
\r
38 <%= link_to h(truncate(@operators.artist.name, :length => 12)), main_app.artist_path(@operators.artist) %>
\r
43 <% if user_signed_in? %>
\r
44 <%= link_to t('home.configure.title'), '/home/configure' %>
\r
45 <%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>
\r
47 <%= link_to "sign in", main_app.new_user_session_path %>
\r
53 <div width="100%" style="background-color: #ddfadd; padding: 5px;">
\r
54 <%= link_to t('tab.reader.title'), '/' %>
\r
55 <%= link_to t_m('Comic'), main_app.comics_path %>
\r
56 <%= link_to t_m('Scroll'), main_app.scrolls_path %>
\r
57 <%= link_to t_m('Panel'), main_app.panels_path %>
\r
58 <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>
\r
59 <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %>
\r
61 <%= link_to t_m('Author'), main_app.authors_path %>
\r
62 <%= link_to t_m('Artist'), main_app.artists_path %>
\r
64 <div width="100%" style="background-color: #fadddd; padding: 5px;">
\r
65 <%= link_to t('tab.creator.home'), '/home' %>
\r
66 <% if @operators.author %>
\r
67 <%= link_to t('tab.creator.comic'), '/home/comics' %>
\r
68 <%= link_to t('*'), main_app.new_comic_path %>
\r
69 <%= link_to t('tab.creator.story'), '/home/stories' %>
\r
70 <%= link_to t('tab.creator.sheet'), '/home/sheets' %>
\r
71 <%= link_to t('*'), main_app.new_sheet_path %>
\r
72 <%= link_to t('tab.creator.scroll'), '/home/scrolls' %>
\r
73 <%= link_to t('*'), main_app.new_scroll_path %>
\r
74 <%= link_to t('tab.creator.panel'), '/home/panels' %>
\r
75 <%= link_to t('*'), main_app.new_panel_path %>
\r
77 <% if @operators.artist %>
\r
78 <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>
\r
79 <%= link_to t('*'), main_app.new_original_picture_path %>
\r
80 <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>
\r
82 <% if @operators.author and @operators.author.working? -%>
\r
83 <%= link_to t('tab.creator..catch'), main_app.panel_path(@operators.author.working_panel) %>
\r
87 <div width="100%" style="background-color: #faddfa; padding: 5px;">
\r
88 <%= link_to t('tab.demander.title'), main_app.demanders_path %>
\r
89 <% if demand_user_signed_in? %>
\r
90 <%= link_to t_m('Demander'), main_app.demanders_path %>
\r
91 <%= link_to t('home.sign_out.title'), main_app.destroy_demand_user_session_path, :method => :delete %>
\r
93 <%= link_to t('home.sign_in.title'), main_app.new_demand_user_session_path %>
\r
96 <div width="100%" style="background-color: #ddddfa; padding: 5px;">
\r
97 <%= link_to t('tab.system.title'), '/system' %>
\r
98 <% if admin_signed_in? %>
\r
99 <%= link_to t('tab.system.browse'), '/system/browse' %>
\r
100 <%= link_to t('tab.system.approve'), '/system/waiting_list' %>
\r
101 <%= link_to t('tab.system.port'), '/system/import' %>
\r
102 <%= link_to t('tab.system.token'), '/system/auth_token' %>
\r
103 <%= link_to t('home.sign_out.title'), main_app.destroy_admin_session_path, :method => :delete %>
\r
105 <%= link_to t('home.sign_in.title'), main_app.new_admin_session_path %>
\r
108 <%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>
\r