Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #37342 - Update foreman docs and fix specify matcher documentation #711

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/ansible_roles/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% title _("Ansible Roles") %>

<% title_actions ansible_proxy_import(hash_for_import_ansible_roles_path),
documentation_button('#4.1ImportingRoles', :root_url => ansible_doc_url) %>
documentation_button('Managing_Configurations_Ansible', type: 'docs', chapter: 'Importing_Ansible_Roles_and_Variables_ansible') %>

<table class="<%= table_css_classes 'table-fixed' %>">
<thead>
Expand Down
2 changes: 1 addition & 1 deletion app/views/ansible_roles/welcome.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p><%= _('No Ansible Roles were found in Foreman. If you want to assign roles to your hosts,
you have to import them first.').html_safe %>
</p>
<p><%= link_to(_('Learn more about this in the documentation.'), documentation_url('#4.1ImportingRoles', :root_url => ansible_doc_url), target: '_blank') %></p>
<p><%= link_to(_('Learn more about this in the documentation.'), documentation_url('Managing_Configurations_Ansible', type: 'docs', chapter: 'Importing_Ansible_Roles_and_Variables_ansible'), target: '_blank') %></p>
<div class="blank-slate-pf-secondary-action">
<%= ansible_proxy_import(hash_for_import_ansible_roles_path) %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/ansible_variables/_fields.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</fieldset>
</br>
<fieldset>
<h2><%= _("Specify Matchers") %> <%= documentation_button('4.2.6SmartMatchers') %></h2>
<h2><%= _("Specify Matchers") %> <%= documentation_button('Managing_Configurations_Ansible', type: 'docs', chapter: 'Overriding_Ansible_Variables_in_foreman_ansible') %></h2>
<div class="children_fields lookup_values">
<%= render 'lookup_keys/values', :f => f, :is_param => false %>
</div>
Expand Down
3 changes: 1 addition & 2 deletions app/views/ansible_variables/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<%= stylesheet 'foreman_ansible/foreman-ansible' %>

<%= title_actions display_link_if_authorized(_('New Ansible Variable'), hash_for_new_ansible_variable_path, :class => "btn btn-default no-float"),
documentation_button('#4.3Variables', :root_url => ansible_doc_url)
%>
documentation_button('Managing_Configurations_Ansible', type: 'docs', chapter: 'Importing_Ansible_Roles_and_Variables_ansible') %>

<table class="<%= table_css_classes 'table-fixed' %>">
<thead>
Expand Down
Loading