<%-
  # Compare with render_document_functions_partial helper, and
  # _document_functions partial. BL actually has two groups
  # of document-related tools. "document functions" by default
  # contains Bookmark functionality shown on both results and
  # item view. While "document tools" contains external export type
  # functions by default only on detail.

-%>
<% if show_doc_actions? %>
  <div class="panel panel-default show-tools">
    <div class="panel-heading">
      <%= t('blacklight.tools.title') %>
    </div>

    <div class="panel-body">
      <ul class="nav">
        <%= render_show_doc_actions @document do |config, inner| %>
          <li class="<%= config.key %>">
            <%= inner %>
          </li>
        <% end %>
      </ul>
    </div>
  </div>
<% end %>
