Orbit
  • <%= link_to content_tag(:i, nil, :class => 'icons-dashboard') + t('admin.dashboard'), admin_dashboards_path %>
  • <%= t('admin.content') %>
  • <%= link_to content_tag(:i, nil, :class => 'icons-member') + t('admin.member'), admin_users_path %>
  • <%= link_to content_tag(:i, nil, :class => 'icons-asset') + t('admin.asset'), admin_assets_path %>
  • <%= link_to content_tag(:i, nil, :class => 'icons-structure') + t('admin.structure'), admin_items_path %>
  • <%= t('admin.add_item') %>
  • <%= link_to t(:homepage), root_path, :class => 'orbit-bar-home' %>
  • <%= link_to t(:desktop), desktop_path, :class => 'orbit-bar-desktop' %>
  • language
      <% @site_in_use_locales.each do |locale| %> <%= content_tag :li, (link_to t(:_locale, :locale => locale), add_locale(remove_locale((referer rescue request.fullpath)), locale)), :class => (I18n.locale.eql?(locale.to_sym) ? 'active' : nil) %> <% end %>
  • search
  • <% if user_signed_in? %>
  • <%#= image_tag current_user.avatar.thumb.url, :class => 'member-img' %> <%= current_user.name %>
    • <%= t(:account_settings) %>
    • <%= t(:desktop) %>
    • <%= link_to content_tag(:i, nil, :class => 'icons-out') + ' ' + t(:logout), destroy_user_session_path %>
    • <%= t(:help) %>
  • <% else %>
  • <%= t(:login) %>
    • <%= form_for :user, :url => user_session_path do |f| %>
    • <%= f.text_field :email, :class => 'span2', :placeholder => t(:email), :size => 16 %>
    • <%= f.password_field :password, :class => 'span2', :placeholder => t(:password), :size => 16 %>
    • <%= link_to t(:forgot_password), new_user_password_path, :class => 'forgot' %>
    • <%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary' %>
    • <%= t(:or_lower) %>
    • <% end %>
    <%= link_to t(:register), new_user_registration_path, :class => 'btn btn-danger register' %>
  • <% end %>