This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/layouts/_left_menu.html.erb

31 lines
1.3 KiB
Plaintext

<ul class="nav" role="navigation">
<!-- menu -->
<li id="orbit-start" class="dropdown">
<a class="orbitlogo" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="orbit-start">
<li><%= link_to content_tag(:i, nil, :class => 'icons-gauge') + ' ' + t(:dashboard_), admin_dashboards_path, tabindex: '-1' %></li>
<li><%= link_to content_tag(:i, nil, :class => 'icons-users') + ' ' + t(:member_), admin_users_new_interface_index_path, tabindex: '-1' %></li>
<% if (is_admin? rescue false) %>
<li class="divider"></li>
<li><%= link_to content_tag(:i, nil, :class => 'icons-flow-tree') + ' ' + t(:structure), admin_items_path, tabindex: '-1' %></li>
<li><%= link_to content_tag(:i, nil, :class => 'icons-cog') + ' ' + t('site.settings'), admin_site_site_info_path(@site), tabindex: '-1' %></li>
<% end %>
</ul>
</li>
<!-- home -->
<li id="orbit-home">
<a href="<%= root_path %>" role="button">
<i class="icons-house"></i> <span class="hide"><%= t(:homepage) %></span>
</a>
</li>
<!-- Desktop -->
<li id="orbit-desktop">
<a href="<%= desktop_path %>" role="button">
<i class="icons-screen"></i> <span class="hide"><%= t(:desktop) %></span>
</a>
</li>
</ul>