Sha256: 553bb40d1908a9eb8e6a5c0ab3b55f8e31303cc14276e02abc7e7a3ad0497d27

Contents?: true

Size: 891 Bytes

Versions: 12

Compression:

Stored size: 891 Bytes

Contents

<div class="btn-group">
  <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><%= t('.select') %> <span class="caret"></span>
  </button>
  <ul class="dropdown-menu dropdown-menu-right">
    <% if can?( :edit, document ) && !workflow_restriction?(@presenter) %>
      <li>
        <%= link_to [main_app, :edit, document],
                    class: "itemicon itemedit",
                    title: t('hyrax.collection.document_list.edit'),
                    id: "edit_work_link_#{document.id}" do %>
          <i class="glyphicon glyphicon-pencil" aria-hidden="true"></i> <%= t('hyrax.collection.document_list.edit') %>
        <% end %>
      </li>
    <% end %>
    <li>
      <%= display_trophy_link(current_user, document.id) do |text| %>
        <i class="glyphicon glyphicon-star" aria-hidden="true"></i> <%= text %>
      <% end %>
    </li>
  </ul>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.5.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.4.2 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.4.1 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.4.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.3.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.2.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.1.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.0.2 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.0.1 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.0.0 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb