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.13.0.rc2.1 app/overrides/add_organization_attributes.rb
katello-3.13.0.rc2 app/overrides/add_organization_attributes.rb
katello-3.12.3 app/overrides/add_organization_attributes.rb
katello-3.12.2 app/overrides/add_organization_attributes.rb
katello-3.13.0.rc1 app/overrides/add_organization_attributes.rb
katello-3.12.1 app/overrides/add_organization_attributes.rb
katello-3.11.2 app/overrides/add_organization_attributes.rb
katello-3.10.2 app/overrides/add_organization_attributes.rb
katello-3.12.0 app/overrides/add_organization_attributes.rb
katello-3.12.0.rc2 app/overrides/add_organization_attributes.rb
katello-3.10.1.1 app/overrides/add_organization_attributes.rb
katello-3.12.0.rc1 app/overrides/add_organization_attributes.rb
katello-3.10.1 app/overrides/add_organization_attributes.rb
katello-3.11.1 app/overrides/add_organization_attributes.rb
katello-3.11.0 app/overrides/add_organization_attributes.rb
katello-3.11.0.rc2 app/overrides/add_organization_attributes.rb
katello-3.11.0.rc1 app/overrides/add_organization_attributes.rb
katello-3.10.0 app/overrides/add_organization_attributes.rb
katello-3.10.0.rc1.1 app/overrides/add_organization_attributes.rb
katello-3.9.1 app/overrides/add_organization_attributes.rb