diff --git a/app/views/layouts/_head_panel.html.erb b/app/views/layouts/_head_panel.html.erb index 20590e25ebbc82d1ca5652ee3713822e14ec7546..8815b17f33409d768c3c2782dfdd2d136e9231b4 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 %>