Sha256: 9b6e1a4c43ec68305ff03326e53b5c8569ab64254a3b01704f4c81cfa3ad550f

Contents?: true

Size: 482 Bytes

Versions: 28

Compression:

Stored size: 482 Bytes

Contents

# View Helpers for Hydra Batch Edit functionality
module Hyrax
  module BatchEditsHelper
    # Displays the delete button for batch editing
    def batch_delete
      render 'hyrax/batch_edits/delete_selected'
    end

    # Displays a "check all" button with a dropdown that has "Select None"
    # and "Select current page" actions
    def render_check_all
      return if params[:controller] == "hyrax/my/collections"
      render 'hyrax/batch_edits/check_all'
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-2.3.3 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.3.2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.3.1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.3.0 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.0.3 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.2.4 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.2.3 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.2.2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.2.1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.2.0 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.rc4 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.rc3 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.rc2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.rc1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.beta2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.0.2 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.1.0.beta1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.0.1 app/helpers/hyrax/batch_edits_helper.rb
hyrax-2.0.0 app/helpers/hyrax/batch_edits_helper.rb