Sha256: 94846edb7dbbe1fc4435df788014529581907e743a1710b46b61e2e3fd6c6ed7

Contents?: true

Size: 1.28 KB

Versions: 28

Compression:

Stored size: 1.28 KB

Contents

    <% if can? :edit, presenter.solr_document %>
      <div class="panel-heading">
        <div class="row">
          <div class="col-sm-8">
            <h2 class="panel-title display-page"><%= presenter.to_s %></h2>
          </div>
          <div class="col-sm-4">
            <div class="pull-right">
              <%= link_to edit_admin_admin_set_path(presenter), class: 'btn btn-primary' do %>
                <span class="fa fa-edit" aria-hidden="true"></span> <%= t(:'helpers.action.edit') %>
              <% end %>
              <% if presenter.disable_delete? %>
                <span title="<%= presenter.disabled_message %>">
                  <%= link_to admin_admin_set_path(presenter), class: 'btn btn-danger disabled' do %>
                    <span class="fa fa-remove" aria-hidden="true"></span> <%= t(:'helpers.action.delete') %>
                  <% end %>
                </span>
              <% else %>
                <%= link_to admin_admin_set_path(presenter), class: 'btn btn-danger', data: { confirm: t('.confirm_delete'), method: :delete } do %>
                  <span class="fa fa-remove" aria-hidden="true"></span> <%= t(:'helpers.action.delete') %>
                <% end %>
              <% end %>
            </div>
          </div>
        </div>
      </div>
    <% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.5 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.4 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.3 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.9.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.8.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.7.2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.7.1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.7.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.6.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-3.0.0.pre.rc1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-3.0.0.pre.beta3 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.5.1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.5.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.4.1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-2.4.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb