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

Version Path
foreman_puppet-8.0.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.4.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-7.0.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.3.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.2.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.1.1 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-5.1.3 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.1.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.0.1 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-6.0.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-5.1.2 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-4.1.1 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-5.1.1 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-5.1.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-4.1.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-4.0.4 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-5.0.0 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-4.0.3 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-4.0.2 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb
foreman_puppet-3.0.7 app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb