Sha256: 853ea69c6bea0735e393f1c95ef312efbddf17efd496abb8c886dffa2bb5cdac

Contents?: true

Size: 954 Bytes

Versions: 10

Compression:

Stored size: 954 Bytes

Contents

<% if current_user %>

    <%= render :partial=>"/add_assets_links" %>
  
    <% if current_user.can_be_superuser? %>
      <% if current_user.is_being_superuser?(session) %>
        <%= link_to "Stop being superuser", superuser_path %>
      <% else %>
        <%= link_to "Become superuser", superuser_path %>
      <% end %>
    <% end %>
    <%= link_to "Log Out", destroy_user_session_path %>
    [
    <%= link_to current_user.login, edit_user_registration_path %>
    ]
    | 
    <%= link_to 'Your Bookmarks', bookmarks_path %>
    |
    <%= link_to "Saved Searches", saved_searches_path %>
<% else %>

    <%= render :partial=>"/add_assets_links" %>
    
    <%= link_to 'Login', new_user_session_path %>

<% end %>

| 
<%= link_to "Selected Items", folder_index_path %> (<span id="folder_number"><%= "#{session[:folder_document_ids] ? session[:folder_document_ids].length : 0}" %></span>)
|
<%= link_to "Search History", search_history_path %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hydra-head-3.0.1 app/views/_user_util_links.html.erb
hydra-head-3.1.0.pre2 app/views/_user_util_links.html.erb
hydra-head-3.0.0 app/views/_user_util_links.html.erb
hydra-head-3.1.0.pre1 app/views/_user_util_links.html.erb
hydra-head-3.0.0.rc2 app/views/_user_util_links.html.erb
hydra-head-3.0.0.rc1 app/views/_user_util_links.html.erb
hydra-head-3.0.0pre4 app/views/_user_util_links.html.erb
hydra-head-3.0.0pre3 app/views/_user_util_links.html.erb
hydra-head-3.0.0pre2 app/views/_user_util_links.html.erb
hydra-head-3.0.0pre1 app/views/_user_util_links.html.erb