Sha256: 88d927bfec1709ac7d2f9f70327707f466dd84bb9abeb9ec01c8f3b8d15c4b5c
Contents?: true
Size: 1.84 KB
Versions: 10
Compression:
Stored size: 1.84 KB
Contents
<% title _("Salt Variables") %> <%= title_actions display_link_if_authorized(_('New Salt Variable'), hash_for_new_salt_variable_path, :class => "btn btn-default no-float"), documentation_button('#4.3Variables', :root_url => salt_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 :salt_module, :as => s_('Variable|State') %></th> <th class='col-md-1'><%= _('Type') %></th> <th class='col-md-2'><%= _('Actions') %></th> </tr> </thead> <tbody> <% @salt_variables.each do |variable| %> <tr> <td class="ellipsis"><%= link_to_if_authorized( icon_text((variable.override ? "flag": ""), variable.key.to_s, :kind => 'fa', :title => _('Overriden')), hash_for_edit_salt_variable_path(:id => variable). merge(:auth_object => variable, :permission => 'edit_external_parameters', :authorizer => authorizer) ) %></td> <td class="ellipsis"><%= link_to_if_authorized( variable.salt_module.name, hash_for_salt_variables_path(:search => "salt_module = #{variable.salt_module}") ) %></td> <td class="ellipsis"><%= variable.key_type || 'string' %></td> <td class="ellipsis"> <% links = [ display_delete_if_authorized( hash_for_salt_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 @salt_variables %>
Version data entries
10 entries across 10 versions & 1 rubygems