Project

General

Profile

« Previous | Next » 

Revision 5af52b3b

Added by Ohad Levy about 14 years ago

  • ID 5af52b3b8c6aaf16482f75aaf07c747a2e253908

fixes #220 - show all used puppet classes when using storeconfigs

View differences:

app/views/hosts/show.html.erb
<%= link_to "YAML", :action=>"externalNodes", :id => @host %>
<%= link_to_if @host.build == false, "Build", {:action=>"setBuild", :id => @host} %>
<%= link_to_if SETTINGS[:puppetrun], "Run Puppet", {:action=>"puppetrun", :id => @host} %>
<%= link_to_if @host.resources.count > 0, "All Puppet Classes", storeconfig_klasses_host_path(@host) %>
<%= link_to "Delete", host_path(@host), :confirm => 'Are you sure?', :method => :delete%>
</div>

Also available in: Unified diff