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