Sha256: 4ca60a02bf5d3ed698b0643b1a1ad8d13b6a07c6efeb9158e366bd49a6bda78d

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

<small>
  <% if has_user_authentication_provider? %>
    <div class="util-links-login">
      <% if current_user %>
        <%= link_to t('blacklight.header_links.logout'), destroy_user_session_path %> <%= "[#{ link_to current_user, edit_user_registration_path }]".html_safe unless current_user.to_s.blank? %>
      <% else %>
        <%= link_to t('blacklight.header_links.login'), new_user_session_path %>
      <% end %>
    </div>

  <% end %>

  <div class="util-links-other">
    <% if current_or_guest_user %>
      <%= link_to t('blacklight.header_links.bookmarks'), bookmarks_path %>
    <% end %>
    <% if has_user_authentication_provider? and current_user %>
      |
      <%= link_to t('blacklight.header_links.saved_searches'), saved_searches_path %>
    <% end %>
    |
    <%= link_to t('blacklight.header_links.search_history'), search_history_path %>
  </div>
</small>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-4.0.0.rc2 app/views/_user_util_links.html.erb
blacklight-4.0.0.rc1 app/views/_user_util_links.html.erb