Sha256: aa3d76a1e408e2f91b3e1371e281b7d7ea87ef0175baee1718e046ea9cec2a33

Contents?: true

Size: 1.98 KB

Versions: 99

Compression:

Stored size: 1.98 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')

# Add Simple Content Access column to org table
Deface::Override.new(:virtual_path => "taxonomies/index",
                     :name => "add_sca_column_on_index",
                     :insert_before => 'table th:last-child', # make it the second-to-last column
                     :partial => 'overrides/organizations/index_header_override')

# Add Simple Content Access cells to org table
Deface::Override.new(:virtual_path => "taxonomies/index",
                    :name => "add_sca_attributes_on_index",
                    :insert_before => 'tbody td:last-child',
                    :partial => 'overrides/organizations/index_row_override')

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
katello-4.11.1 app/overrides/add_organization_attributes.rb
katello-4.11.0 app/overrides/add_organization_attributes.rb
katello-4.11.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.11.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.10.0 app/overrides/add_organization_attributes.rb
katello-4.9.2 app/overrides/add_organization_attributes.rb
katello-4.10.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.10.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.8.4 app/overrides/add_organization_attributes.rb
katello-4.9.1 app/overrides/add_organization_attributes.rb
katello-4.8.3 app/overrides/add_organization_attributes.rb
katello-4.9.0 app/overrides/add_organization_attributes.rb
katello-4.7.6 app/overrides/add_organization_attributes.rb
katello-4.8.2 app/overrides/add_organization_attributes.rb
katello-4.9.0.rc2 app/overrides/add_organization_attributes.rb
katello-4.9.0.rc1 app/overrides/add_organization_attributes.rb
katello-4.8.1 app/overrides/add_organization_attributes.rb
katello-4.7.5 app/overrides/add_organization_attributes.rb
katello-4.8.0 app/overrides/add_organization_attributes.rb
katello-4.8.0.rc2 app/overrides/add_organization_attributes.rb