Sha256: bddac7c9fa04f2c0d9f460f26956d9746b7ab6ef0d13b54d0eb3018d87ec8952

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

<div class="btn-group my-actions">
  <a class="btn btn-primary dropdown-toggle user-display-name" data-toggle="dropdown" href="#">
    <%= current_user.name.blank? ? 'Me' : current_user.name %>
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <li><%= link_to 'My Works',       catalog_index_path(:'f[generic_type_sim][]' => 'Work', works: 'mine'), class: 'my-works',       role: 'menuitem' %></li>
    <li><%= link_to 'My Collections', collections_path,                                                      class: 'my-collections', role: 'menuitem' %></li>
    <li><%= link_to 'My Profile',     user_profile_path,                                                     class: 'my-account',     role: 'menuitem' %></li>
    <% if current_user.repository_noid? %>
    <li><%= link_to 'My Proxies',     person_depositors_path(current_user.repository_noid),                  class: 'my-proxies',     role: 'menuitem' %></li>
    <% end %>
    <li class="divider"></li>
    <li><%= link_to 'Log Out',        destroy_user_session_path,                                             class: 'log-out',        role: 'menuitem' %></li>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
curate-0.6.5 app/views/shared/_my_actions.html.erb
curate-0.6.4 app/views/shared/_my_actions.html.erb
curate-0.6.3 app/views/shared/_my_actions.html.erb
curate-0.6.1 app/views/shared/_my_actions.html.erb