Sha256: 4c50e952f7979943c95364c21e1c128c0c3eb642ea19fa639534d32380bd799f
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
<% title _("Ansible Variables") %> <% title_actions ansible_proxy_import(hash_for_import_ansible_variables_path), documentation_button('#4.3Variables', :root_url => ansible_doc_url) %> <table class="<%= table_css_classes 'table-fixed' %>"> <thead> <tr> <th class='col-md-6'><%= sort :name, :as => s_('Variable|Name') %></th> <th class='col-md-2'><%= sort :ansible_role, :as => s_('Variable|Role') %></th> <th class='col-md-2'><%= _('Type') %></th> <th class='col-md-2'><%= _('Actions') %></th> </tr> </thead> <tbody> <% @ansible_variables.each do |variable| %> <tr> <td class="ellipsis"><%= link_to_if_authorized( variable.key, hash_for_edit_ansible_variable_path(:id => variable). merge(:auth_object => variable, :permission => 'edit_external_parameters', :authorizer => authorizer) ) %></td> <td class="ellipsis"><%= link_to_if_authorized( variable.ansible_role.name, hash_for_ansible_variables_path(:search => "ansible_role = #{variable.ansible_role}") ) %></td> <td class="ellipsis"><%= "String" %></td> <td class="ellipsis"> <% 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) %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @ansible_variables %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_ansible-2.3.0 | app/views/ansible_variables/index.html.erb |