app/views/layouts/_top_bar.html.erb in adminpanel-0.0.6.1 vs app/views/layouts/_top_bar.html.erb in adminpanel-0.0.7
- old
+ new
@@ -2,15 +2,17 @@
<div class="navbar-inner">
<div class="container-fluid">
<div class="logo">
<%= link_to image_tag("logo.png", :alt => "PCP del Sureste"), root_path %>
</div>
+ <% if signed_in? %>
<a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
+ <% end %>
<a class="btn btn-navbar slide_menu_left visible-tablet">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
@@ -24,19 +26,19 @@
<%= link_to content_tag('i', nil, :class => 'icon-off') + ' Login', signin_path, :escape => true %>
<% end %>
</li>
</ul>
</div>
-
+
<div class="top-menu visible-phone visible-tablet">
<ul class="pull-right">
<li>
<% if signed_in? %>
<%= link_to content_tag('i', nil, :class => 'icon-off'), signout_path, :method => "delete", :title => 'Logout', :id => "signout-button" %>
- <% end %>
</li>
</ul>
</div>
+ <% end %>
</div>
</div>
</div>
\ No newline at end of file