Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/puppetclasses/index.html.erb | ||
---|---|---|
display_link_if_authorized("Import new puppet classes and environments", hash_for_import_environments_puppetclasses_path)
|
||
%>
|
||
|
||
<table class="list">
|
||
<table class="table table-bordered table-striped">
|
||
<tr>
|
||
<th><%= sort :name %></th>
|
||
<th><%= sort :environment, :as => "Environments" %> and documentation</th>
|
||
... | ... | |
<td>
|
||
<%= link_to puppetclass.lookup_keys.count, puppetclass_lookup_keys_path(puppetclass) %>
|
||
</td>
|
||
<td class="ra">
|
||
<%= display_link_if_authorized "Delete", hash_for_puppetclass_path(:id => puppetclass, :auth_action => :destroy), :confirm => "Delete #{puppetclass.name}?", :method => :delete %>
|
||
<td>
|
||
<%= display_delete_if_authorized hash_for_puppetclass_path(:id => puppetclass), :confirm => "Delete #{puppetclass.name}?" %>
|
||
</td>
|
||
</tr>
|
||
<% end %>
|
Also available in: Unified diff
updates UI to bootstrap v2