Sha256: b0d58b311f64dbaf730c3bd3ada73ff23bb7c6c8215eaf12d892de497c765eb4

Contents?: true

Size: 1.53 KB

Versions: 68

Compression:

Stored size: 1.53 KB

Contents

<nav id="SCNavbar" class="navbar navbar-default hidden-print" role="navigation">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <% if @navigator %>
        <button id="hamburger_button" type="button" class="navbar-toggle pull-left">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      <% end %>

      <%= link_to "ThinkFeelDo", brand_location, class: "navbar-brand" %>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <% if @navigator %>
      <div class="collapse navbar-collapse" id="sc-hamburger-menu">
        <ul id="header-navbar" class="nav navbar-nav">
          <% home_tool = current_participant.active_group.arm.bit_core_tools.find_by_type("Tools::Home") %>
          <li><%= link_to home_tool.try(:title), main_app.root_path %></li>
          <%= render "think_feel_do_engine/shared/participant/nav_items" %>
        </ul>

        <ul class="nav navbar-nav navbar-right">
          <% if current_participant %>
            <li><%= link_to fa_icon("sign-out", text: "Sign Out"), destroy_participant_session_path, method: :delete %></li>
          <% end %>
        </ul>

        <% if current_participant %>
          <p class="navbar-text navbar-right">Signed in as <%= current_participant.email %></p>
        <% end %>
      </div>
    <% end %>
  </div>
</nav>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.20.1 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.9 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.8 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.7 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.6 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.5 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.4 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb
think_feel_do_engine-3.19.3 app/views/think_feel_do_engine/shared/participant/_navbar.html.erb