Sha256: 6e3ef9bd51c4389ac33c72aac915f037112f65c24239d2426c37a7d79a4a02f6

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 KB

Contents

# Remove Parent select box from org
Deface::Override.new(:virtual_path => "taxonomies/_step1",
                     :name => "remove_parent_organization_on_create",
                     :surround => 'erb[loud]:contains("select_f"):contains(":parent")',
                     :text => '<% if taxonomy.is_a?(Location) %><%= render_original %><% end %>'
                    )

Deface::Override.new(:virtual_path => "taxonomies/_form",
                     :name => "remove_parent_organization_on_edit",
                     :surround => 'erb[loud]:contains("select_f"):contains(":parent")',
                     :text => '<% if taxonomy.is_a?(Location) %><%= render_original %><% end %>'
                    )

# Add organization attributes to org edit
Deface::Override.new(:virtual_path => "taxonomies/_form",
                     :name => "add_organization_attributes_on_edit",
                     :insert_after => 'erb[loud]:contains("text_f"):contains(":name")',
                     :partial => 'overrides/organizations/edit_override')

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.15.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.14.1 app/overrides/add_organization_attributes.rb
katello-4.14.0 app/overrides/add_organization_attributes.rb
katello-4.14.0.rc3 app/overrides/add_organization_attributes.rb
katello-4.14.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.14.0.rc1.1 app/overrides/add_organization_attributes.rb
katello-4.14.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.13.1 app/overrides/add_organization_attributes.rb
katello-4.13.0 app/overrides/add_organization_attributes.rb
katello-4.12.1 app/overrides/add_organization_attributes.rb
katello-4.13.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.12.0 app/overrides/add_organization_attributes.rb
katello-4.12.0.rc3 app/overrides/add_organization_attributes.rb
katello-4.12.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.12.0.rc1 app/overrides/add_organization_attributes.rb