File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 3
3
%ul .nav.nav-tabs {'role' => 'tablist'}
4
4
= miq_tab_header(" details" ) do
5
5
= _(" Details" )
6
+ - if @record.type == " ServiceTerraformTemplate"
7
+ - stack = @record.try(:stack, " Provision" )
8
+ = miq_tab_header(" output" ) do
9
+ = _(" Output" )
6
10
- if @record.type == " ServiceAnsiblePlaybook"
7
11
- provision_job = @record.try(:job, " Provision" )
8
12
- retirement_job = @record.try(:job, " Retirement" )
29
33
= _('VMs')
30
34
- if @view
31
35
= render :partial => " layouts/gtl" , :locals => {:view => @view, :no_flash_div => true}
36
+
37
+ - if @record.type == " ServiceTerraformTemplate"
38
+ = miq_tab_content(" output" , 'default', :class => 'cm-tab') do
39
+ - if stack
40
+ = react('ServiceDetailStdout', { :taskid => stack.raw_stdout_via_worker(User.current_user&.userid, 'html')});
41
+
32
42
- if @record.type == " ServiceAnsibleTower" || @record.type == " ServiceAwx"
33
43
= miq_tab_content(" tower_job" , 'default', :class => 'cm-tab') do
34
44
= render :partial => " layouts/textual_groups_tabs" , :locals => {:textual_group_list => textual_tower_job_group_list, :tab_id => " tower_job" }
You can’t perform that action at this time.
0 commit comments