Revision 417920b7
Added by Eric Helms about 10 years ago
app/overrides/add_organization_attributes.rb | ||
---|---|---|
# 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")',
|
||
:insert_after => 'code[erb-loud]:contains("text_f"):contains(":name")',
|
||
:partial => 'katello/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")',
|
||
:insert_after => 'code[erb-loud]:contains("text_f"):contains(":name")',
|
||
:partial => 'katello/organizations/edit_override')
|
Also available in: Unified diff
Fixes 4654: Switches to using the Deface syntax for versions of Deface
less than 1.0.0 and locks down the versions avaiable for use.