Project

General

Profile

« Previous | Next » 

Revision c8c3bd3b

Added by Brad Buckingham about 10 years ago

fixes #4706 - adding back the ability to download a debug certificate

As part of an earlier commit to eliminate dead code, this
feature was accidentally removed. Since is still needed
on the org edit page, it is being reintroduced.

A couple of notes:
- rather than bring back the old ui controller, the action
is being added to the v2 api controller
- in order to reduce chance of the overrides being removed
in the future, they are being placed in app/overrides/foreman

View differences:

app/overrides/add_organization_attributes.rb
Deface::Override.new(:virtual_path => "taxonomies/_step1",
:name => "add_organization_attributes_on_create",
:insert_after => 'code[erb-loud]:contains("text_f"):contains(":name")',
:partial => 'katello/organizations/step_1_override')
:partial => '../overrides/foreman/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 => 'code[erb-loud]:contains("text_f"):contains(":name")',
:partial => 'katello/organizations/edit_override')
:partial => '../overrides/foreman/organizations/edit_override')

Also available in: Unified diff