Skip to content

Commit 74a7f1c

Browse files
committed
Add Provider Name to configuration scripts grid
1 parent 52d6e59 commit 74a7f1c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/controllers/application_controller/miq_request_methods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def build_configuration_script_grid(configuration_scripts, sort_order = nil, sor
394394
sort_by ||= "name"
395395
sort_order ||= "ASC"
396396

397-
headers = {"name" => _("Name"), "description" => _("Description")}
397+
headers = {"name" => _("Name"), "description" => _("Description"), "manager_name" => _("Provider Name")}
398398

399399
@configuration_scripts = _build_whatever_grid("configuration_script", configuration_scripts, headers, sort_order, sort_by)
400400
end

app/helpers/request_info_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ def prov_configuration_script_grid_cells(data)
308308
[
309309
prov_cell_data(data.name),
310310
prov_cell_data(data.description),
311+
prov_cell_data(data.manager_name)
311312
]
312313
end
313314

0 commit comments

Comments
 (0)