Skip to content

Commit

Permalink
add salutation to nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cain committed Aug 18, 2023
1 parent 8878f0a commit c66e67f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/shared/_user_util_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<li class="nav-item">
<%= link_to t('blacklight.header_links.logout'), logout_path, class: 'nav-link' %>
</li>
<li>
Hello, <%= current_user.firstname %> <%= current_user.lastname %>
</li>
<% else %>
<li class="nav-item">
<%= link_to t('blacklight.header_links.login'), user_shibboleth_omniauth_authorize_path, method: :post, class: 'nav-link' %>
Expand Down

0 comments on commit c66e67f

Please sign in to comment.