Sha256: e47f5ffcd287201ab4c14ea9a6cea080f940844c429f70cd4bccb1f9ee1a894c
Contents?: true
Size: 1.23 KB
Versions: 9
Compression:
Stored size: 1.23 KB
Contents
<ul id="user_utility_links" class="nav navbar-nav navbar-right"> <% if user_signed_in? %> <li> <%= link_to sufia.notifications_path do %> Notifications <%= render partial: 'users/notify_number' %> <% end %> </li> <li class="dropdown"> <%= link_to sufia.profile_path(current_user), role: 'button', data: { toggle: 'dropdown' }, aria: { haspopup: true, expanded: false} do %> <span class="sr-only">View</span> <span class="hidden-xs"> <%= current_user.name %></span> <span class="sr-only"> profile</span> <span class="fa fa-user"></span> <span class="caret" ></span> <% end %> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li><%= link_to 'View Profile', sufia.profile_path(current_user) %></li> <li><%= link_to 'Edit Profile', sufia.edit_profile_path(current_user) %></li> <li class="divider"></li> <li><%= link_to '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> Login <% end %> </li> <% end %> </ul>
Version data entries
9 entries across 9 versions & 1 rubygems