thingspeak/app/views/layouts/_menu.html.erb

9 lines
420 B
Plaintext
Raw Normal View History

2011-03-27 22:56:15 +02:00
<% if @menu_type != 'nomenu' %>
<div id="menu" class="round">
<div<%= " class='selected'" if @menu == 'home' %>><%= link_to t(:home), root_path %></div>
<% if current_user %>
<div<%= " class='selected'" if @menu == 'channels' %>><%= link_to t(:channels), channels_path %></div>
2011-03-30 04:52:57 +02:00
<div<%= " class='selected'" if @menu == 'account' %>><%= link_to t(:myaccount), account_path %></div>
2011-03-27 22:56:15 +02:00
<% end %>
</div>
<% end %>