Sha256: 099a08c82ac68f8d424cc6609e5aec01018bffcf50bc6cce6cd24578af75f37a

Contents?: true

Size: 1.35 KB

Versions: 113

Compression:

Stored size: 1.35 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 creation
Deface::Override.new(:virtual_path => "taxonomies/_step1",
                     :name => "add_organization_attributes_on_create",
                     :insert_after => 'erb[loud]:contains("text_f"):contains(":name")',
                     :partial => 'overrides/organizations/step_1_override')

# 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

113 entries across 113 versions & 1 rubygems

Version Path
katello-3.16.2 app/overrides/add_organization_attributes.rb
katello-3.17.0.rc2.2 app/overrides/add_organization_attributes.rb
katello-3.17.0.rc2.1 app/overrides/add_organization_attributes.rb
katello-3.16.1.2 app/overrides/add_organization_attributes.rb
katello-3.16.1.1 app/overrides/add_organization_attributes.rb
katello-3.17.0.rc2 app/overrides/add_organization_attributes.rb
katello-3.16.1 app/overrides/add_organization_attributes.rb
katello-3.17.0.rc1 app/overrides/add_organization_attributes.rb
katello-3.16.0 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc5.1 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc5 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc4.1 app/overrides/add_organization_attributes.rb
katello-3.15.3.1 app/overrides/add_organization_attributes.rb
katello-3.15.3 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc4 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc3.1 app/overrides/add_organization_attributes.rb
katello-3.15.2 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc3 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc2.1 app/overrides/add_organization_attributes.rb
katello-3.16.0.rc2 app/overrides/add_organization_attributes.rb