<%= render_nav_actions do |config, action|%>
- <%= action %>
<% end %>
<% if has_user_authentication_provider? %>
<% if current_user %>
-
<%= link_to t('blacklight.header_links.logout'), destroy_user_session_path, class: 'nav-link' %>
<% unless current_user.to_s.blank? -%>
-
<%= link_to current_user, edit_user_registration_path, class: 'nav-link' %>
<% end %>
<% else %>
-
<%= link_to t('blacklight.header_links.login'), new_user_session_path, class: 'nav-link' %>
<% end %>
<% end %>