Project

General

Profile

Download (1.04 KB) Statistics
| Branch: | Tag: | Revision:
<table class="table table-bordered table-striped">
<tr>
<th><%= _('Details') %></th>
</tr>
<tr>
<td>
<%= link_to_if_authorized(_("Audits"), hash_for_host_audits_path(:host_id => @host), :title => _("Host audit entries") , :class => 'btn') %>
<% if @host.try(:puppet_proxy) %>
<%=
link_to_if_authorized(_("Facts"), hash_for_host_facts_path(:host_id => @host), :title => _("Browse host facts") , :class => 'btn') +
link_to_if_authorized(_("Reports"), hash_for_host_reports_path(:host_id => @host), :title => _("Browse host reports") , :class => 'btn') +
link_to(_("YAML"), externalNodes_host_path(:name => @host), :title => _("Puppet external nodes YAML dump") , :class => 'btn')
%>
<% end %>
</td>
</tr>
</table>
<table class="table table-bordered table-striped">
<tr>
<th><%= _('Properties') %></th>
<th></th>
</tr>
<% overview_fields(host).each do |name, value| -%>
<tr>
<td><%= name %></td>
<td><%= value %></td>
</tr>
<% end -%>
</table>
(10-10/34)