Sha256: 7a0c1e18d765b6c1a13a4b8068ba0351e202599085e7a461aeff3a1e9b5d815c

Contents?: true

Size: 420 Bytes

Versions: 9

Compression:

Stored size: 420 Bytes

Contents

# View Helpers for Hydra Batch Edit functionality
module BatchEditsHelper
  # Displays the delete button for batch editing
  def batch_delete
    render '/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 controller_name == "my/collections"
    render 'batch_edits/check_all'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sufia-7.2.0 app/helpers/batch_edits_helper.rb
sufia-7.1.0 app/helpers/batch_edits_helper.rb
sufia-7.0.0 app/helpers/batch_edits_helper.rb
sufia-7.0.0.rc2 app/helpers/batch_edits_helper.rb
sufia-7.0.0.rc1 app/helpers/batch_edits_helper.rb
sufia-7.0.0.beta4 app/helpers/batch_edits_helper.rb
sufia-7.0.0.beta3 app/helpers/batch_edits_helper.rb
sufia-7.0.0.beta2 app/helpers/batch_edits_helper.rb
sufia-7.0.0.beta1 app/helpers/batch_edits_helper.rb