Sha256: e37811c5f9c98181ff6e6582e61c1c00efe15acc36b8418992c304ff328a0668

Contents?: true

Size: 957 Bytes

Versions: 13

Compression:

Stored size: 957 Bytes

Contents

<% return if admin_user.is_a?(FakeUser) %>

<ul class="nav pull-right">
  <li class="dropdown" data-dropdown="dropdown">
    <%= link_to "#", :class => "dropdown-toggle", "data-toggle" => "dropdown" do %>
      <%= admin_user.to_label %>
      <b class="caret"></b>
    <% end %>

    <ul class="dropdown-menu">
      <li>
        <%= link_to url_for(admin_edit_user_path(admin_user)) do %>
          <i class="icon-user"></i>
          <%= Typus::I18n.t("Settings") %>
        <% end %>
      </li>

      <li class="divider"></li>

      <% if Typus.link_to_help %>
        <li>
          <%= link_to '#' do %>
            <i class="icon-info-sign"></i>
            <%= Typus::I18n.t("Help") %>
          <% end %>
        </li>
      <% end %>

      <li>
        <%= link_to admin_sign_out_path, :method => :delete do %>
          <i class="icon-off"></i>
          <%= Typus::I18n.t("Sign out") %>
        <% end %>
      </li>
    </ul>
  </li>
</ul>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta12 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta11 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta10 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta9 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta8 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta7 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta6 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta5 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta4 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta3 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta2 app/views/helpers/admin/base/_login_info.html.erb
brainsome_typus-4.0.0.beta1 app/views/helpers/admin/base/_login_info.html.erb