views/server/summary.html.erb in city-watch-0.7.3 vs views/server/summary.html.erb in city-watch-0.7.4

- old
+ new

@@ -1,10 +1,11 @@ <% -sum = summary -update_time = sum.delete("received_at") +if sum = summary + update_time = sum.delete("received_at") %> <div class="server"> <a href="/<%=@host%>"><%=@host%></a> (Last update: <%=update_time%>) <% sum.each do |watchman,dat| %> <%= Reader::Watchman.new(@host,watchman).render_from_summary(dat) %> <% end %> -</div> +</div> +<% end %> \ No newline at end of file