From c092f3972a45e0b83ec80f8ebfc39d488efcab9d Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Fri, 11 Nov 2011 11:04:32 -0500 Subject: [PATCH] fix view mode selection --- app/views/layouts/_head_panel.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_head_panel.html.erb b/app/views/layouts/_head_panel.html.erb index 20590e25ebb..8815b17f334 100644 --- a/app/views/layouts/_head_panel.html.erb +++ b/app/views/layouts/_head_panel.html.erb @@ -13,8 +13,8 @@ <%#= current_user.name %> Your profile <% end %> - <%= link_to "Fluid layout", url_for( :view_style => 'fluid' ) if cookies[:view_style] == "collapsed"%> - <%= link_to "Fixed layout", url_for( :view_style => 'collapsed' ) unless cookies[:view_style] == "collapsed"%> + <%= link_to "Fluid layout", url_for( :view_style => 'fluid' ) unless cookies[:view_style] == "fluid"%> + <%= link_to "Fixed layout", url_for( :view_style => 'collapsed' ) if cookies[:view_style] == "fluid"%> <%= link_to 'Logout', destroy_user_session_path, :class => "logout", :method => :delete %> @@ -55,4 +55,4 @@

No SSH Key is defined. You won't be able to use any Git command!

Click <%=link_to( 'here', keys_path ) %> to add one! -<% end %> \ No newline at end of file +<% end %> -- GitLab