Sha256: d084dd543f888e0cb6a3da926138c68c74ae0620c6b4cf966b90265cbcb91700

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

<% if current_user %>
  <div class="navbar navbar-inverse navbar-bc navbar-static-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <%= link_to Brightcontent.application_name, root_path, class: "navbar-brand" %>
      </div>
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav js-menu">
          <%= render "menu" %>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <%= image_tag avatar_url(current_user), class: 'avatar' %>
            <%= current_user.email %><b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <%= render "brightcontent/application/user_menu" %>
          </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brightcontent-core-2.6.0 app/views/layouts/brightcontent/_navbar.html.erb
brightcontent-core-2.5.1 app/views/layouts/brightcontent/_navbar.html.erb
brightcontent-core-2.5.0 app/views/layouts/brightcontent/_navbar.html.erb