Sha256: 56298b1859b0f7104e8200cd779b59891aaa8068da37c5eaf8d2bc1b734e1869

Contents?: true

Size: 711 Bytes

Versions: 9

Compression:

Stored size: 711 Bytes

Contents

<% if can? :manage, Spotlight::Resource.new(exhibit: current_exhibit) %>
  <div data-behavior='progress-panel' data-monitor-url="<%= monitor_exhibit_resources_path(current_exhibit) %>">
    <%= render 'reindex_progress_panel' %>
  </div>
  <div class="add-items-nav clearfix">
    <div class="float-right">
      <%= link_to t('.reindex'), reindex_all_exhibit_resources_path(current_exhibit), 
          data: { method: :post, turbo_method: :post },
          class: 'btn btn-secondary' %>
      <% if Spotlight::Engine.config.resource_partials.any? %>
        <%= link_to t('.new_resource'), new_exhibit_resource_path(current_exhibit), class: 'btn btn-primary' %>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-spotlight-3.6.0.beta10 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta9 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta8 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta7 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta6 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta5 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta4 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta3 app/views/spotlight/catalog/_admin_header.html.erb
blacklight-spotlight-3.6.0.beta1 app/views/spotlight/catalog/_admin_header.html.erb