%= stylesheet_link_tag "test.css" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
PettanR
|
<% if @author %>
<%= link_to h(truncate(@author.name, :length => 12)), main_app.author_path(@author) %>
<% end %>
<% if @artist %>
<%= link_to h(truncate(@artist.name, :length => 12)), main_app.artist_path(@artist) %>
<% end %>
|
<%= link_to t('home.configure.title'), '/home/configure' %>
<%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>
|
<%= link_to t('tab.reader.title'), '/' %>
<%= link_to t_m('Comic'), main_app.comics_path %>
<%= link_to t_m('Panel'), main_app.panels_path %>
<%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>
:
<%= link_to t_m('Author'), main_app.authors_path %>
<%= link_to t_m('Artist'), main_app.artists_path %>
<% if user_signed_in? %>
<%= link_to t('tab.creator.home'), '/home' %>
<%= link_to t('tab.creator.comic'), '/home/comic' %>
<%= link_to t('tab.creator.panel'), '/home/panel' %>
<% if @artist %>
<%= link_to t('tab.creator.picture'), main_app.original_pictures_path %>
<% end %>
<% else %>
<%= link_to "sign in", main_app.new_user_session_path %>
<% end %>
<%= yield %>
demanders
<% if demand_user_signed_in? %>
<%= link_to "demanders", main_app.demanders_path %>
<%= link_to "sign out", main_app.destroy_demand_user_session_path, :method => :delete %>
<% else %>
<%= link_to "sign in", main_app.new_demand_user_session_path %>
<% end %>
<% if admin_signed_in? %>
<%= link_to t('tab.system.title'), '/system' %>
<%= link_to "browse", '/system/browse' %>
<%= link_to "approve", '/system/waiting_list' %>
<%= link_to "token", '/system/auth_token' %>
layout:
<%= link_to "test", '/system/test_layout' %>
<%= link_to "production", '/system/production_layout' %>
<%= link_to "sign out", main_app.destroy_admin_session_path, :method => :delete %>
<% else %>
<%= link_to "sign in", main_app.new_admin_session_path %>
<% end %>
<%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>