From 26b5c4ae1f2ac9e3cc962352b38bd93def8d3a63 Mon Sep 17 00:00:00 2001 From: Maximilian Kolb Date: Mon, 26 Jun 2023 15:25:48 +0200 Subject: [PATCH] Fixes #37041 - Change link to docs.theforeman.org mechanism in Foreman: see PR 9756 in foreman --- app/views/job_invocations/welcome.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/job_invocations/welcome.html.erb b/app/views/job_invocations/welcome.html.erb index 11eac0f4e..bfbba892b 100644 --- a/app/views/job_invocations/welcome.html.erb +++ b/app/views/job_invocations/welcome.html.erb @@ -7,7 +7,7 @@ <%= _("Foreman can run arbitrary commands on remote hosts using different providers, such as SSH or Ansible. Communication goes through the Smart Proxy so Foreman does not have to have direct access to the target hosts and can scale to control many hosts.") %>

<%= link_to _('Learn more about this in the documentation.'), - documentation_url('1.ForemanRemoteExecution1.3Manual', :root_url => 'https://www.theforeman.org/plugins/foreman_remote_execution/1.3/index.html#'), :rel => 'external' %>

+ external_link_path(type: 'docs', section: 'Managing_Hosts', chapter: 'Configuring_and_Setting_Up_Remote_Jobs_managing-hosts'), :rel => 'external' %>

<%= authorized_for(controller: :job_invocations, action: :create) ? link_to(_("Run Job"), { :action => :create }, { :class => "btn btn-primary btn-lg" }) : nil %>