forked from saurabh/orbit4-5
31 lines
1.5 KiB
Plaintext
31 lines
1.5 KiB
Plaintext
<ul class="nav" role="navigation">
|
|
|
|
<!-- menu -->
|
|
<li id="orbit-start" class="dropdown">
|
|
<a class="orbitlogo" href="<%= admin_dashboards_path %>" role="button" class="dropdown-toggle" data-toggle="dropdown" title="<%= t('dashboard_')%>" <% unless current_site.default_image.blank? %> style="background-image: url('<%= current_site. default_image.url %>');" <% end %> ></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_members_path, tabindex: '-1' %></li>
|
|
<% if (current_user.present? && current_user.workgroup.present? && current_user.is_admin?) %>
|
|
<li class="divider"></li>
|
|
<li><%= link_to content_tag(:i, nil, :class => 'icons-cog') + ' ' + t('site.settings'), admin_items_path, tabindex: '-1' %></li>
|
|
<% end%>
|
|
</ul>
|
|
</li>
|
|
|
|
<!-- home -->
|
|
<li id="orbit-home">
|
|
<a href="<%= root_path %>" role="button" title="<%= t('homepage')%>">
|
|
<i class="icons-house"></i> <span class="hide"><%= t(:homepage) %></span>
|
|
</a>
|
|
</li>
|
|
|
|
<!-- Desktop -->
|
|
<% unless current_site.desktop_closed %>
|
|
<li id="orbit-desktop">
|
|
<a href="" role="button" title="<%= t('desktop')%>">
|
|
<i class="icons-screen"></i> <span class="hide"><%= t(:desktop) %></span>
|
|
</a>
|
|
</li>
|
|
<% end%>
|
|
</ul> |