Sha256: 9b2c7cc053acabc5be882ce57bad1916d26396c4654da162a281ba9abcd8a389
Contents?: true
Size: 1.5 KB
Versions: 10
Compression:
Stored size: 1.5 KB
Contents
<ul id="user_utility_links" class="nav navbar-nav navbar-right"> <%= render 'shared/locale_picker' if available_translations.size > 1 %> <% if user_signed_in? %> <li> <%= link_to hyrax.notifications_path do %> <%= t("hyrax.toolbar.notifications") %> <%= render 'hyrax/users/notify_number' %> <% end %> </li> <li class="dropdown"> <%= link_to hyrax.profile_path(current_user), role: 'button', data: { toggle: 'dropdown' }, aria: { haspopup: true, expanded: false} do %> <span class="sr-only"><%= t("hyrax.toolbar.profile.sr_action") %></span> <span class="hidden-xs"> <%= current_user.name %></span> <span class="sr-only"> <%= t("hyrax.toolbar.profile.sr_target") %></span> <span class="fa fa-user"></span> <span class="caret"></span> <% end %> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li><%= link_to t("hyrax.toolbar.profile.view"), hyrax.profile_path(current_user) %></li> <li><%= link_to t("hyrax.toolbar.profile.edit"), hyrax.edit_profile_path(current_user) %></li> <li class="divider"></li> <li><%= link_to t("hyrax.toolbar.profile.logout"), main_app.destroy_user_session_path %></li> </ul> </li><!-- /.btn-group --> <% else %> <li> <%= link_to main_app.new_user_session_path do %> <span class="glyphicon glyphicon-log-in" aria-hidden="true"></span > <%= t("hyrax.toolbar.profile.login") %> <% end %> </li> <% end %> </ul>
Version data entries
10 entries across 10 versions & 2 rubygems