Sha256: 6d03d5304aa9fc751db6b8cca295fefc3c644758bf9350951f0173fc79825c5a
Contents?: true
Size: 1.06 KB
Versions: 5
Compression:
Stored size: 1.06 KB
Contents
<% title _("Environments") %> <% title_actions import_proxy_select(hash_for_import_environments_environments_path), button_group(display_link_if_authorized(_("New Environment"), hash_for_new_environment_path)) %> <table class="table table-bordered table-striped"> <tr> <th><%= sort :name, :as => s_("Environment|Name") %></th> <th><%= _('Hosts') %></th> <th></th> </tr> <% for environment in @environments %> <tr> <td> <%= link_to_if_authorized h(environment.name), hash_for_edit_environment_path(:id=> environment.name) %> </td> <td><%= link_to @counter[environment.id] || 0, hosts_path(:search => "environment = #{environment}") %> <td> <%= action_buttons(link_to(_("Classes"), puppetclasses_path(:search => "environment = #{environment}")), display_delete_if_authorized(hash_for_environment_path(:id => environment.name), :confirm => "Delete #{environment.name}?")) %> </td> </tr> <% end %> </table> <%= page_entries_info @environments %> <%= will_paginate @environmentsS %>
Version data entries
5 entries across 5 versions & 1 rubygems