fix view mode selection
This commit is contained in:
parent
97cf5659aa
commit
c092f3972a
1 changed files with 3 additions and 3 deletions
|
@ -13,8 +13,8 @@
|
||||||
<%#= current_user.name %>
|
<%#= current_user.name %>
|
||||||
Your profile
|
Your profile
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to "Fluid layout", url_for( :view_style => 'fluid' ) if 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' ) unless cookies[:view_style] == "collapsed"%>
|
<%= 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 %>
|
<%= link_to 'Logout', destroy_user_session_path, :class => "logout", :method => :delete %>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- .account-box -->
|
</div><!-- .account-box -->
|
||||||
|
@ -55,4 +55,4 @@
|
||||||
<p>No SSH Key is defined. You won't be able to use any Git command!
|
<p>No SSH Key is defined. You won't be able to use any Git command!
|
||||||
<p>Click <%=link_to( 'here', keys_path ) %> to add one!
|
<p>Click <%=link_to( 'here', keys_path ) %> to add one!
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue