mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
17 lines
661 B
Text
17 lines
661 B
Text
<% if user_signed_in? %>
|
|
<div id="sciNavigationTopMenuContainer" data-turbolinks-permanent data-behaviour="vue">
|
|
<top-menu-container
|
|
url="<%= top_menu_navigations_path %>"
|
|
notifications-url="<%= user_notifications_path %>"
|
|
unseen-notifications-url="<%= unseen_counter_user_notifications_path %>" />
|
|
</div>
|
|
<% else %>
|
|
<div class="sci--navigation--top-menu-container">
|
|
<div class="sci--navigation--top-menu-logo">
|
|
<a title="SciNote" href="/">
|
|
<%= image_tag "/images/sn-icon.svg", class: "logo small" %>
|
|
<%= image_tag "/images/scinote_icon.svg", class: "logo large" %>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<% end %>
|