Sha256: c1ae4ee2b7d7454a59f0af597131b014d31ca1a712b9790a0efae042f7ef816f

Contents?: true

Size: 1.66 KB

Versions: 22

Compression:

Stored size: 1.66 KB

Contents

<div class="btn-group">

  <button class="btn btn-sm dropdown-toggle" data-toggle="dropdown" type="button" id="dropdownMenu_<%= document.id %>" aria-haspopup="true">
    <span class="sr-only">Press to </span>
    Select an action
    <span class="caret" aria-hidden="true"></span>
  </button>

  <ul role="menu" class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu_<%= document.id %>">

    <li role="menuitem" tabindex="-1">
      <%= button_for_remove_from_collection(@collection, document, 'Remove from Collection') %>
    </li>

    <li role="menuitem" tabindex="-1">
      <%= link_to [main_app, :edit, document] do %>
        <i class="glyphicon glyphicon-pencil" aria-hidden="true"></i>
        <span> Edit Work </span>
      <% end %>
    </li>

    <li role="menuitem" tabindex="-1">
      <%= link_to [main_app, document], method: :delete, data: { confirm: "Deleting a work from #{application_name} is permanent. Click OK to delete this work from #{application_name}, or Cancel to cancel this operation" } do %>
        <i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
        <span>Delete Work</span>
      <% end %>
    </li>

    <li role="menuitem" tabindex="-1">
      <%= display_trophy_link @user, document.id do |text| %>
        <i class='glyphicon glyphicon-star'></i> <%= text %>
      <% end %>
    </li>
    <li role="menuitem" tabindex="-1">
      <%= link_to(hyrax.new_work_transfer_path(document.id), class: 'itemicon itemtransfer', title: 'Transfer Ownership of Work') do %>
        <i aria-hidden="true" class='glyphicon glyphicon-transfer'></i>
        <span> Transfer Ownership of Work </span>
      <% end %>
    </li>
  </ul>
</div>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-2.0.3 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-1.1.0 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-2.0.2 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.1 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-1.0.5 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/dashboard/collections/_work_action_menu.html.erb
hyrax-1.0.4 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-1.0.3 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-1.0.2 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-1.0.1 app/views/hyrax/collections/_work_action_menu.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/collections/_work_action_menu.html.erb