Sha256: f3f0d13b4ad0c592af35aa5c02e58616d8c246876b0b1a061890e073ccd83eb3

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<nav class="thredded--navigation" role="navigation">
  <ul class="thredded--user-navigation<%= ' thredded--user-navigation-standalone' if Thredded.standalone_layout? %>">
    <% if signed_in? && Thredded.standalone_layout? %>
      <li class="thredded--user-navigation--profile thredded--user-navigation--item">
        <%= link_to thredded_current_user.thredded_display_name, user_path(thredded_current_user) %>
      </li>
    <% end %>

    <%= render 'thredded/shared/nav/moderation' %>
    <%= render 'thredded/shared/nav/notification_preferences', messageboard: messageboard_or_nil %>
    <%= render 'thredded/shared/nav/private_topics' %>

    <% if Thredded.standalone_layout? %>
      <%= render 'thredded/shared/nav/standalone' %>
    <% end %>
  </ul>
  <% if content_for? :thredded_main_navigation %>
    <%= yield :thredded_main_navigation %>
  <% else %>
    <div class="thredded--main-navigation">
      <%= yield :thredded_breadcrumbs %>
      <%= render 'thredded/search/form', messageboard: messageboard_or_nil %>
    </div>
  <% end %>
</nav>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-0.9.2 app/views/thredded/shared/_nav.html.erb
thredded-0.9.1 app/views/thredded/shared/_nav.html.erb
thredded-0.8.4 app/views/thredded/shared/_nav.html.erb
thredded-0.8.2 app/views/thredded/shared/_nav.html.erb
thredded-0.7.0 app/views/thredded/shared/_nav.html.erb