Sha256: d3deb7dd5fa75f94bf522dceaa29954281df3bf03bdbcdba75fb880916a0c3f1

Contents?: true

Size: 612 Bytes

Versions: 28

Compression:

Stored size: 612 Bytes

Contents

module ForemanPuppet
  module EnvironmentsHelper
    include PuppetclassesAndEnvironmentsHelper

    def url_for(*args)
      super
    rescue ActionController::UrlGenerationError => _e
      foreman_puppet.url_for(*args)
    end

    def environments_title_actions
      title_actions import_proxy_select(hash_for_import_environments_environments_path.merge(engine: foreman_puppet)),
        button_group(new_link(_('Create Puppet Environment'), { engine: foreman_puppet }, id: 'new_environment')),
        button_group(link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' }))
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
foreman_puppet-8.0.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.4.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-7.0.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.3.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.2.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.1.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-5.1.3 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.1.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.0.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-6.0.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-5.1.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-4.1.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-5.1.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-5.1.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-4.1.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-4.0.4 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-5.0.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-4.0.3 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-4.0.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-3.0.7 app/helpers/foreman_puppet/environments_helper.rb