Commit c092f3972a45e0b83ec80f8ebfc39d488efcab9d
1 parent
97cf5659
Exists in
master
and in
4 other branches
fix view mode selection
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/layouts/_head_panel.html.erb
| @@ -13,8 +13,8 @@ | @@ -13,8 +13,8 @@ | ||
| 13 | <%#= current_user.name %> | 13 | <%#= current_user.name %> |
| 14 | Your profile | 14 | Your profile |
| 15 | <% end %> | 15 | <% end %> |
| 16 | - <%= link_to "Fluid layout", url_for( :view_style => 'fluid' ) if cookies[:view_style] == "collapsed"%> | ||
| 17 | - <%= link_to "Fixed layout", url_for( :view_style => 'collapsed' ) unless cookies[:view_style] == "collapsed"%> | 16 | + <%= link_to "Fluid layout", url_for( :view_style => 'fluid' ) unless cookies[:view_style] == "fluid"%> |
| 17 | + <%= link_to "Fixed layout", url_for( :view_style => 'collapsed' ) if cookies[:view_style] == "fluid"%> | ||
| 18 | <%= link_to 'Logout', destroy_user_session_path, :class => "logout", :method => :delete %> | 18 | <%= link_to 'Logout', destroy_user_session_path, :class => "logout", :method => :delete %> |
| 19 | </div> | 19 | </div> |
| 20 | </div><!-- .account-box --> | 20 | </div><!-- .account-box --> |
| @@ -55,4 +55,4 @@ | @@ -55,4 +55,4 @@ | ||
| 55 | <p>No SSH Key is defined. You won't be able to use any Git command! | 55 | <p>No SSH Key is defined. You won't be able to use any Git command! |
| 56 | <p>Click <%=link_to( 'here', keys_path ) %> to add one! | 56 | <p>Click <%=link_to( 'here', keys_path ) %> to add one! |
| 57 | </div> | 57 | </div> |
| 58 | -<% end %> | ||
| 59 | \ No newline at end of file | 58 | \ No newline at end of file |
| 59 | +<% end %> |