X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Ftest.html.erb;h=110c475c58afa3a1f59deb1171929e82758b5992;hb=16bdf03a3e2bb03fe97a04a87b4d97bfe201ffc4;hp=45a8b7066511fc2d0c8028e4644836862b5b1a95;hpb=93b359296a4d2da735cf200bea2476c2dffcee3f;p=pettanr%2Fpettanr.git
diff --git a/app/views/layouts/test.html.erb b/app/views/layouts/test.html.erb
index 45a8b706..110c475c 100644
--- a/app/views/layouts/test.html.erb
+++ b/app/views/layouts/test.html.erb
@@ -2,7 +2,7 @@
<% if user_signed_in? %>
<%= link_to "my home", '/home' %>
+ <%= link_to 'my comics', '/home/comic' %>
+ <%= link_to 'my panels', '/home/panel' %>
+ <%= link_to 'my pictures', main_app.original_pictures_path %>
+ <%= link_to 'my panel pictures', '/home/panel_picture' %>
+ <%= link_to 'configure', '/home/configure' %>
<%= link_to "sign out", main_app.destroy_user_session_path, :method => :delete %>
<% else %>
<%= link_to "sign in", main_app.new_user_session_path %>
@@ -19,6 +24,12 @@
<% if admin_signed_in? %>
<%= link_to "system", '/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 %>
@@ -28,7 +39,7 @@
<%= notice %>
<%= alert %>
<%= link_to 'comics', main_app.comics_path %>
-<%= link_to 'stories', main_app.stories_path %>
+<%= link_to 'stories', main_app.new_story_path %>
<%= link_to 'panels', main_app.panels_path %>
<%= link_to 'original_pictures', main_app.original_pictures_path %>
<%= link_to 'resource_pictures', main_app.resource_pictures_path %>
@@ -41,6 +52,7 @@
<%= link_to 'system_pictures', main_app.system_pictures_path %>
<%= yield %>
+<%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>