views/watchmen/CPUUsage/summary.html.erb in city-watch-0.7.0 vs views/watchmen/CPUUsage/summary.html.erb in city-watch-0.7.1
- old
+ new
@@ -1,5 +1,4 @@
<h4><%=@name%></h4>
-<%= sparkline_image_tags.map {|(name,tag)| tag }.join(" ")%><br/>
-<strong>User: </strong><%=@current_data["usr"]%><br/>
-<strong>Idle: </strong><%=@current_data["idle"]%><br/>
-<strong>System: </strong><%=@current_data["sys"]%><br/>
+<strong>User: </strong><%=@current_data["usr"]%> <%=sparkline_img_tag_for(:cpu_user)%><br/>
+<strong>Idle: </strong><%=@current_data["idle"]%> <%=sparkline_img_tag_for(:cpu_idle)%><br/>
+<strong>System: </strong><%=@current_data["sys"]%> <%=sparkline_img_tag_for(:cpu_system)%>