<% title _("Ansible Variables") %> <% title_actions ansible_proxy_import(hash_for_import_ansible_variables_path), documentation_button('#4.3Variables', :root_url => ansible_doc_url) %> <% @ansible_variables.each do |variable| %> <% end %>
<%= sort :name, :as => s_('Variable|Name') %> <%= sort :ansible_role, :as => s_('Variable|Role') %> <%= _('Type') %> <%= _('Actions') %>
<%= link_to_if_authorized( variable.key, hash_for_edit_ansible_variable_path(:id => variable). merge(:auth_object => variable, :permission => 'edit_external_parameters', :authorizer => authorizer) ) %> <%= link_to_if_authorized( variable.ansible_role.name, hash_for_ansible_variables_path(:search => "ansible_role = #{variable.ansible_role}") ) %> <%= variable.key_type || 'string' %> <% links = [ display_delete_if_authorized( hash_for_ansible_variable_path(:id => variable.id).merge( :auth_object => variable, :authorizer => authorizer), :data => { :confirm => _("Delete %s?") % variable.key }, :action => :delete) ] %> <%= action_buttons(*links) %>
<%= will_paginate_with_info @ansible_variables %>