Project

General

Profile

« Previous | Next » 

Revision 32dffb96

Added by Amos Benari over 10 years ago

fixes #4220 dashboard and report-show pages chart-frame is not in place.

(cherry picked from commit cbce647fa4d83b5ea4f5a5d35313914811a4e891)

View differences:

app/views/hosts/show.html.erb
</div>
<div class="tab-pane" id="metrics">
<% if @report_summary.size == 0 %>
<p><%= _('No puppet activity for this host in the last %s days') % @range %></p>
<div class="alert alert-warning"><%= _('No puppet activity for this host in the last %s days') % @range %></div>
<% else %>
<%= render :partial => "hosts/metrics", :locals => { :report_summary => @report_summary[@host.name][:metrics] } %>
<% end %>

Also available in: Unified diff