File tree Expand file tree Collapse file tree 10 files changed +80
-70
lines changed
app/helpers/application_helper/toolbar Expand file tree Collapse file tree 10 files changed +80
-70
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,16 @@ class ApplicationHelper::Toolbar::MiqTemplatesCenter < ApplicationHelper::Toolba
77
77
:send_checked => true ,
78
78
:enabled => false ,
79
79
:onwhen => "1+" ) ,
80
- button (
81
- :miq_template_policy_sim ,
82
- 'fa fa-play-circle-o fa-lg' ,
83
- N_ ( 'View Policy Simulation for the selected Templates' ) ,
84
- N_ ( 'Policy Simulation' ) ,
85
- :url_parms => "main_div" ,
86
- :send_checked => true ,
87
- :enabled => false ,
88
- :onwhen => "1+" ) ,
80
+ # TODO: Add this button back when the page is fixed
81
+ # button(
82
+ # :miq_template_policy_sim,
83
+ # 'fa fa-play-circle-o fa-lg',
84
+ # N_('View Policy Simulation for the selected Templates'),
85
+ # N_('Policy Simulation'),
86
+ # :url_parms => "main_div",
87
+ # :send_checked => true,
88
+ # :enabled => false,
89
+ # :onwhen => "1+"),
89
90
button (
90
91
:miq_template_tag ,
91
92
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -107,15 +107,16 @@ class ApplicationHelper::Toolbar::TemplateCloudsCenter < ApplicationHelper::Tool
107
107
:send_checked => true ,
108
108
:enabled => false ,
109
109
:onwhen => "1+" ) ,
110
- button (
111
- :image_policy_sim ,
112
- 'fa fa-play-circle-o fa-lg' ,
113
- N_ ( 'View Policy Simulation for the selected items' ) ,
114
- N_ ( 'Policy Simulation' ) ,
115
- :url_parms => "main_div" ,
116
- :send_checked => true ,
117
- :enabled => false ,
118
- :onwhen => "1+" ) ,
110
+ # TODO: Add this button back when the page is fixed
111
+ # button(
112
+ # :image_policy_sim,
113
+ # 'fa fa-play-circle-o fa-lg',
114
+ # N_('View Policy Simulation for the selected items'),
115
+ # N_('Policy Simulation'),
116
+ # :url_parms => "main_div",
117
+ # :send_checked => true,
118
+ # :enabled => false,
119
+ # :onwhen => "1+"),
119
120
button (
120
121
:image_tag ,
121
122
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -87,15 +87,16 @@ class ApplicationHelper::Toolbar::TemplateInfrasCenter < ApplicationHelper::Tool
87
87
:send_checked => true ,
88
88
:enabled => false ,
89
89
:onwhen => "1+" ) ,
90
- button (
91
- :miq_template_policy_sim ,
92
- 'fa fa-play-circle-o fa-lg' ,
93
- N_ ( 'View Policy Simulation for the selected Templates' ) ,
94
- N_ ( 'Policy Simulation' ) ,
95
- :url_parms => "main_div" ,
96
- :send_checked => true ,
97
- :enabled => false ,
98
- :onwhen => "1+" ) ,
90
+ # TODO: Add this button back when the page is fixed
91
+ # button(
92
+ # :miq_template_policy_sim,
93
+ # 'fa fa-play-circle-o fa-lg',
94
+ # N_('View Policy Simulation for the selected Templates'),
95
+ # N_('Policy Simulation'),
96
+ # :url_parms => "main_div",
97
+ # :send_checked => true,
98
+ # :enabled => false,
99
+ # :onwhen => "1+"),
99
100
button (
100
101
:miq_template_tag ,
101
102
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -96,15 +96,16 @@ class ApplicationHelper::Toolbar::VmCloudsCenter < ApplicationHelper::Toolbar::B
96
96
:send_checked => true ,
97
97
:enabled => false ,
98
98
:onwhen => "1+" ) ,
99
- button (
100
- :instance_policy_sim ,
101
- 'fa fa-play-circle-o fa-lg' ,
102
- N_ ( 'View Policy Simulation for the selected items' ) ,
103
- N_ ( 'Policy Simulation' ) ,
104
- :url_parms => "main_div" ,
105
- :send_checked => true ,
106
- :enabled => false ,
107
- :onwhen => "1+" ) ,
99
+ # TODO: Add this button back when the page is fixed
100
+ # button(
101
+ # :instance_policy_sim,
102
+ # 'fa fa-play-circle-o fa-lg',
103
+ # N_('View Policy Simulation for the selected items'),
104
+ # N_('Policy Simulation'),
105
+ # :url_parms => "main_div",
106
+ # :send_checked => true,
107
+ # :enabled => false,
108
+ # :onwhen => "1+"),
108
109
button (
109
110
:instance_tag ,
110
111
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -124,15 +124,16 @@ class ApplicationHelper::Toolbar::VmInfrasCenter < ApplicationHelper::Toolbar::B
124
124
:send_checked => true ,
125
125
:enabled => false ,
126
126
:onwhen => "1+" ) ,
127
- button (
128
- :vm_policy_sim ,
129
- 'fa fa-play-circle-o fa-lg' ,
130
- N_ ( 'View Policy Simulation for the selected items' ) ,
131
- N_ ( 'Policy Simulation' ) ,
132
- :url_parms => "main_div" ,
133
- :send_checked => true ,
134
- :enabled => false ,
135
- :onwhen => "1+" ) ,
127
+ # TODO: Add this button back when the page is fixed
128
+ # button(
129
+ # :vm_policy_sim,
130
+ # 'fa fa-play-circle-o fa-lg',
131
+ # N_('View Policy Simulation for the selected items'),
132
+ # N_('Policy Simulation'),
133
+ # :url_parms => "main_div",
134
+ # :send_checked => true,
135
+ # :enabled => false,
136
+ # :onwhen => "1+"),
136
137
button (
137
138
:vm_tag ,
138
139
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -75,15 +75,16 @@ class ApplicationHelper::Toolbar::VmsCenter < ApplicationHelper::Toolbar::Basic
75
75
:send_checked => true ,
76
76
:enabled => false ,
77
77
:onwhen => "1+" ) ,
78
- button (
79
- :vm_policy_sim ,
80
- 'fa fa-play-circle-o fa-lg' ,
81
- N_ ( 'View Policy Simulation for the selected items' ) ,
82
- N_ ( 'Policy Simulation' ) ,
83
- :url_parms => "main_div" ,
84
- :send_checked => true ,
85
- :enabled => false ,
86
- :onwhen => "1+" ) ,
78
+ # TODO: Add this button back when the page is fixed
79
+ # button(
80
+ # :vm_policy_sim,
81
+ # 'fa fa-play-circle-o fa-lg',
82
+ # N_('View Policy Simulation for the selected items'),
83
+ # N_('Policy Simulation'),
84
+ # :url_parms => "main_div",
85
+ # :send_checked => true,
86
+ # :enabled => false,
87
+ # :onwhen => "1+"),
87
88
button (
88
89
:vm_tag ,
89
90
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ class ApplicationHelper::Toolbar::XMiqTemplateCenter < ApplicationHelper::Toolba
54
54
N_ ( 'Manage Policies for this Template' ) ,
55
55
N_ ( 'Manage Policies' ) ,
56
56
:klass => ApplicationHelper ::Button ::VmTemplatePolicy ) ,
57
+ # TODO: Add this button back when the page is fixed
57
58
button (
58
59
:miq_template_policy_sim ,
59
60
'fa fa-play-circle-o fa-lg' ,
Original file line number Diff line number Diff line change @@ -71,11 +71,12 @@ class ApplicationHelper::Toolbar::XTemplateCloudCenter < ApplicationHelper::Tool
71
71
'pficon pficon-edit fa-lg' ,
72
72
N_ ( 'Manage Policies for this Image' ) ,
73
73
N_ ( 'Manage Policies' ) ) ,
74
- button (
75
- :image_policy_sim ,
76
- 'fa fa-play-circle-o fa-lg' ,
77
- N_ ( 'View Policy Simulation for this Image' ) ,
78
- N_ ( 'Policy Simulation' ) ) ,
74
+ # TODO: Add this button back when the page is fixed
75
+ # button(
76
+ # :image_policy_sim,
77
+ # 'fa fa-play-circle-o fa-lg',
78
+ # N_('View Policy Simulation for this Image'),
79
+ # N_('Policy Simulation')),
79
80
button (
80
81
:image_tag ,
81
82
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -103,12 +103,13 @@ class ApplicationHelper::Toolbar::XVmCenter < ApplicationHelper::Toolbar::Basic
103
103
N_ ( 'Manage Policies for this VM' ) ,
104
104
N_ ( 'Manage Policies' ) ,
105
105
:klass => ApplicationHelper ::Button ::VmTemplatePolicy ) ,
106
- button (
107
- :vm_policy_sim ,
108
- 'fa fa-play-circle-o fa-lg' ,
109
- N_ ( 'View Policy Simulation for this VM' ) ,
110
- N_ ( 'Policy Simulation' ) ,
111
- :klass => ApplicationHelper ::Button ::VmTemplatePolicy ) ,
106
+ # TODO: Add this button back when the page is fixed
107
+ # button(
108
+ # :vm_policy_sim,
109
+ # 'fa fa-play-circle-o fa-lg',
110
+ # N_('View Policy Simulation for this VM'),
111
+ # N_('Policy Simulation'),
112
+ # :klass => ApplicationHelper::Button::VmTemplatePolicy),
112
113
button (
113
114
:vm_tag ,
114
115
'pficon pficon-edit fa-lg' ,
Original file line number Diff line number Diff line change @@ -129,11 +129,12 @@ class ApplicationHelper::Toolbar::XVmCloudCenter < ApplicationHelper::Toolbar::B
129
129
'pficon pficon-edit fa-lg' ,
130
130
N_ ( 'Manage Policies for this Instance' ) ,
131
131
N_ ( 'Manage Policies' ) ) ,
132
- button (
133
- :instance_policy_sim ,
134
- 'fa fa-play-circle-o fa-lg' ,
135
- N_ ( 'View Policy Simulation for this Instance' ) ,
136
- N_ ( 'Policy Simulation' ) ) ,
132
+ # TODO: Add this button back when the page is fixed
133
+ # button(
134
+ # :instance_policy_sim,
135
+ # 'fa fa-play-circle-o fa-lg',
136
+ # N_('View Policy Simulation for this Instance'),
137
+ # N_('Policy Simulation')),
137
138
button (
138
139
:instance_tag ,
139
140
'pficon pficon-edit fa-lg' ,
You can’t perform that action at this time.
0 commit comments