Sha256: b7bf0228ead5d512ce4f2f00c5eacf75b8ccbc4fafa7602f7d17835090aff55d
Contents?: true
Size: 899 Bytes
Versions: 28
Compression:
Stored size: 899 Bytes
Contents
<%= play_roles = if hostgroup.all_ansible_roles.empty? link_to _('Run all Ansible roles'), 'javascript:void(0);', disabled: true, title: 'No Roles assigned' else display_link_if_authorized(_('Run all Ansible roles'), hash_for_play_roles_hostgroup_path(id: hostgroup), :'data-no-turbolink' => true, title: _('Run all Ansible roles on hosts belonging to this host group')) end actions = [ display_link_if_authorized(_('Nest'), hash_for_nest_hostgroup_path(:id => hostgroup)), display_link_if_authorized(_('Clone'), hash_for_clone_hostgroup_path(:id => hostgroup)) ] actions.push play_roles if User.current.can?(:create_job_invocations) actions.push display_delete_if_authorized(hash_for_hostgroup_path(:id => hostgroup).merge(:auth_object => hostgroup, :authorizer => authorizer), :data => { :confirm => warning_message(hostgroup) }) action_buttons(*actions) %>
Version data entries
28 entries across 28 versions & 1 rubygems