mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
<%= yield :thredded_breadcrumbs %>
|
|
|
|
<nav class="thredded--navigation">
|
|
<ul class="thredded--user-navigation<%= ' thredded--user-navigation-standalone' if Thredded.standalone_layout? %>">
|
|
<%= render 'thredded/shared/nav/moderation' %>
|
|
<%= render 'thredded/shared/nav/notification_preferences', messageboard: messageboard_or_nil %>
|
|
<%= render 'thredded/shared/nav/private_topics' if Thredded.private_messaging_enabled %>
|
|
<% if Thredded.standalone_layout? %>
|
|
<%= render 'thredded/shared/nav/standalone_profile' if thredded_signed_in? %>
|
|
<%= render 'thredded/shared/nav/standalone' %>
|
|
<% end %>
|
|
</ul>
|
|
<% if content_for? :thredded_main_navigation %>
|
|
<%= yield :thredded_main_navigation %>
|
|
<% else %>
|
|
<div class="thredded--main-navigation">
|
|
<%# Navigation scoped to the current messageboard if any. %>
|
|
<%# yield :thredded_breadcrumbs %>
|
|
<%= render 'thredded/search/form', messageboard: messageboard_or_nil %>
|
|
<div class="thredded--spacer"></div>
|
|
<ul class="thredded--scoped-navigation">
|
|
<%= render 'thredded/shared/nav/unread_topics', messageboard: messageboard_or_nil %>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
</nav> |