Sha256: 43e2b500964a222d8e496309c494fbc21d092db2e6bebdda5f707940f6b4aef8
Contents?: true
Size: 1.17 KB
Versions: 47
Compression:
Stored size: 1.17 KB
Contents
<% title _("Smart Class Parameters") %> <% title_actions documentation_button('4.2.5ParameterizedClasses') %> <table class="<%= table_css_classes 'table-fixed' %>"> <thead> <tr> <th class="col-md-5"><%= sort :key, as: _("Parameter") %></th> <th class="col-md-5"><%= sort :puppetclass, as: _("Puppet Class") %></th> <th><%= _('Number of Overrides') %></th> </tr> </thead> <tbody> <% @lookup_keys.each do |lookup_key| %> <tr> <td class="ellipsis"><%= link_to_if_authorized lookup_key.key, foreman_puppet.hash_for_edit_puppetclass_lookup_key_path(id: lookup_key).merge(auth_object: lookup_key, permission: 'edit_external_parameters', authorizer: authorizer, engine: foreman_puppet) %></td> <% puppet_class = @lookup_keys_to_class[lookup_key.id] %> <td class="ellipsis"><%= link_to_if_authorized puppet_class, foreman_puppet.hash_for_edit_puppetclass_path(id: puppet_class).merge(auth_object: puppet_class, authorizer: @puppetclass_authorizer, engine: foreman_puppet) if puppet_class %></td> <td><%= lookup_key.lookup_values.size %></td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @lookup_keys %>
Version data entries
47 entries across 47 versions & 1 rubygems