Sha256: cd286c7eb8144b7d5e724498aa0310db53aeb37d718421cf3272dcee21900b59

Contents?: true

Size: 874 Bytes

Versions: 12

Compression:

Stored size: 874 Bytes

Contents

  <% 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 render_bookmarks_control? %>
      <%= 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>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-4.9.0 app/views/_user_util_links.html.erb
blacklight-4.8.0 app/views/_user_util_links.html.erb
blacklight-4.7.0 app/views/_user_util_links.html.erb
blacklight-4.7.0.pre1 app/views/_user_util_links.html.erb
blacklight-4.6.3 app/views/_user_util_links.html.erb
blacklight-4.6.2 app/views/_user_util_links.html.erb
blacklight-4.6.1 app/views/_user_util_links.html.erb
blacklight-4.6.0 app/views/_user_util_links.html.erb
blacklight-4.5.0 app/views/_user_util_links.html.erb
blacklight-4.5.0.rc1 app/views/_user_util_links.html.erb
blacklight-4.4.2 app/views/_user_util_links.html.erb
blacklight-4.4.1 app/views/_user_util_links.html.erb