Sha256: e93b780d2f68f88b865f2e58bf06970b29c7d73a4647bf56be4190d2b43e080c

Contents?: true

Size: 435 Bytes

Versions: 151

Compression:

Stored size: 435 Bytes

Contents

module ForemanInventoryUploadHelper
  if Foreman::Version.new.minor.to_i < 23
    def webpacked_plugins_css_for(*plugin_names)
      css_tags_for(select_requested_plugins(plugin_names)).join.html_safe
    end

    def css_tags_for(requested_plugins)
      requested_plugins.map do |plugin|
        stylesheet_link_tag(*webpack_asset_paths(plugin.to_s, :extension => 'css'), "data-turbolinks-track" => true)
      end
    end
  end
end

Version data entries

151 entries across 151 versions & 2 rubygems

Version Path
foreman_rh_cloud-11.1.0 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-10.0.3 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-11.0.3 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.59 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-11.0.2 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-11.0.1 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-11.0.0 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.58 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-10.0.2 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.57 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-10.0.1 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.56 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.55 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.54 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.53 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.52 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-8.0.52 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-9.0.51 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-8.0.51 app/helpers/foreman_inventory_upload_helper.rb
foreman_rh_cloud-7.0.48 app/helpers/foreman_inventory_upload_helper.rb