Revision eb8c02e1
Added by Tomer Brisker over 9 years ago
app/views/puppetclasses/index.html.erb | ||
---|---|---|
<%= link_to_function environment, 'show_rdoc(this)', :'data-url' => rdoc_classes_path(environment, puppetclass.name) %>
|
||
<% end %>
|
||
</td>
|
||
<td><%= puppetclass.hostgroups.map {|hg| link_to_if_authorized trunc(hg), hash_for_edit_hostgroup_path(:id=>hg).merge(:auth_object => hg, :authorizer => @hostgroups_authorizer)}.to_sentence.html_safe %></td>
|
||
<td><%= puppetclass.all_hostgroups(false).map {|hg| link_to_if_authorized trunc(hg), hash_for_edit_hostgroup_path(:id=>hg).merge(:auth_object => hg, :authorizer => @hostgroups_authorizer)}.to_sentence.html_safe %></td>
|
||
<td> <%= link_to puppetclass.total_hosts, hosts_path(:search => "class = #{puppetclass.name}")%></td>
|
||
<td><%= puppetclass.global_class_params_count %> </td>
|
||
<td><%= puppetclass.lookup_keys_count %> </td>
|
Also available in: Unified diff
Fixes #5723 - Show host groups inherited via config groups in puppetclass index