Sha256: 762f12afff366762a7de7d743a624d2c54ce4c5c839846a268002e2e218dfc90

Contents?: true

Size: 1.29 KB

Versions: 15

Compression:

Stored size: 1.29 KB

Contents

      <div class="card-header">
        <div class="row">
          <div class="col-sm-8">
            <h2 class="card-title display-page"><%= presenter.to_s %></h2>
          </div>
          <% if can? :edit, presenter.solr_document %>
          <div class="col-sm-4">
            <div class="float-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>
          <% end %>
        </div>
      </div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.4 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.3 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/admin/admin_sets/_show_actions.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/admin/admin_sets/_show_actions.html.erb