Sha256: 739b08fdb4cde555712edc6a90a93a2574c4bc3fa5579f5e3321728b0054b77b
Contents?: true
Size: 1.34 KB
Versions: 5
Compression:
Stored size: 1.34 KB
Contents
<% title _("Provisioning Templates") %> <% title_actions display_link_if_authorized(_("New Template"), hash_for_new_config_template_path), display_link_if_authorized(_("Build PXE Default"), {:action => :build_pxe_default},{ :confirm => _("You Are about to change the default PXE menu on all configured TFTP servers - continue ?"), :class => "btn btn-info"}) %> <table class="table table-bordered table-striped"> <tr> <tr> <th><%= sort :name, :as => s_("ConfigTemplate|Name") %></th> <th><%= _("Hostgroup / Environment") %></th> <th><%= sort :kind, :as => _("Kind") %></th> <th><%= sort :snippet, :as => s_("ConfigTemplate|Snippet") %></th> <th></th> </tr> <% for config_template in @config_templates %> <tr> <td><%= link_to_if_authorized h(config_template), hash_for_edit_config_template_path(:id => config_template.to_param) %></td> <td><%= combination config_template %></td> <td><%= config_template.try(:template_kind) %></td> <td><%= checked_icon config_template.snippet %></td> <td><%= display_delete_if_authorized hash_for_config_template_path(:id => config_template.to_param), :confirm => _("Delete %s?") % config_template -%> </td> </tr> <% end %> </table> <%= page_entries_info @config_templates %> <%= will_paginate @config_templates %>
Version data entries
5 entries across 5 versions & 1 rubygems