X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Ftest.html.erb;h=6e89624b556f99016d889191b17cc22e91312b03;hb=4de70a43f48c9becfd180631289f7a4d480bb5b8;hp=9bb1395efef8c1da06777bf674024f9fe3206d99;hpb=2b2bb5b365e839906e7e411af3c9fc08ea6c4898;p=pettanr%2Fpettanr.git diff --git a/app/views/layouts/test.html.erb b/app/views/layouts/test.html.erb index 9bb1395e..6e89624b 100644 --- a/app/views/layouts/test.html.erb +++ b/app/views/layouts/test.html.erb @@ -1,47 +1,109 @@
-
+ <%= link_to MagicNumber['profile']['users']['caption'], main_app.root_path %>+ |
+ + <% if user_signed_in? %> + <%# link_to t('top.metro.title'), '/top/metro' %> + <% end %> + | +
+
+ <% 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 %>
+
+ |
+ + <% 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 %> + | +
<%= notice %>
-<%= alert %>
-<%= link_to 'comics', comics_path %> -<%= link_to 'panels', panels_path %> -<%= link_to 'original_pictures', original_pictures_path %> -<%= link_to 'resource_pictures', resource_pictures_path %> -<%= link_to 'panel_pictures', panel_pictures_path %> -<%= link_to 'speech_balloons', speech_balloons_path %> -<%= link_to 'balloons', balloons_path %> -<%= link_to 'speeches', speeches_path %> - : -<%= link_to 'speech_balloon_templates', speech_balloon_templates_path %> - : -<%= link_to 'artists', artists_path %> -<%= link_to 'system_pictures', system_pictures_path %> +