Sha256: de7b78f712db1c0d81484a09b96eff48904c82b02ef95705769d1d0b0634efc0

Contents?: true

Size: 506 Bytes

Versions: 13

Compression:

Stored size: 506 Bytes

Contents

Deface::Override.new(:virtual_path => 'dashboard/index',
                     :name => 'add_dashboard_provisioners_link',
                     :surround_contents => 'code[erb-loud]:contains("title_actions")',
                     :original => '35e276b7102eaa4feb8a4a84f66fd4812216fd48',
                     :text => <<EOS
if ForemanSetup::Provisioner.any?
  <%= render_original %>
else
  title_actions link_to_if_authorized(_("Set up provisioning"), hash_for_new_foreman_setup_provisioner_path)
end
EOS
)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_setup-3.0.0 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.1.1 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.1.0 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.0.4 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.0.3 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.0.2 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.0.1 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-2.0.0 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-1.0.4 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-1.0.3 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-1.0.2 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-1.0.1 app/overrides/add_dashboard_provisioners_link.rb
foreman_setup-1.0.0 app/overrides/add_dashboard_provisioners_link.rb